mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:58:42 +00:00
fix(user): accepted problems list
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d7741c2910
commit
a35883a215
@ -326,16 +326,18 @@
|
|||||||
<ul class="nav uoj-ac-problems-list">
|
<ul class="nav uoj-ac-problems-list">
|
||||||
<?php foreach ($ac_problems as $prob) : ?>
|
<?php foreach ($ac_problems as $prob) : ?>
|
||||||
<?php $problem = UOJProblem::query($prob['problem_id']) ?>
|
<?php $problem = UOJProblem::query($prob['problem_id']) ?>
|
||||||
<?php if ($problem->userCanView(Auth::user())) : ?>
|
<?php if ($problem) : ?>
|
||||||
<li class="nav-item">
|
<?php if ($problem->userCanView(Auth::user())) : ?>
|
||||||
<?= $problem->getLink(['with' => 'id', 'class' => 'nav-link rounded uoj-ac-problems-list-item']) ?>
|
<li class="nav-item">
|
||||||
</li>
|
<?= $problem->getLink(['with' => 'id', 'class' => 'nav-link rounded uoj-ac-problems-list-item']) ?>
|
||||||
<?php else : ?>
|
</li>
|
||||||
<li class="nav-item">
|
<?php else : ?>
|
||||||
<a class="nav-link disabled rounded" role="button">
|
<li class="nav-item">
|
||||||
#<?= $problem->info['id'] ?>. 隐藏的题目
|
<a class="nav-link disabled rounded" role="button">
|
||||||
</a>
|
#<?= $problem->info['id'] ?>. 隐藏的题目
|
||||||
</li>
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endif ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user