Fix ioi16
This commit is contained in:
parent
45ada7995a
commit
cdb7834de5
2 changed files with 2 additions and 2 deletions
|
@ -930,7 +930,7 @@ class UserContestSubmissionsAjax(UserContestSubmissions):
|
||||||
filtered_submissions = []
|
filtered_submissions = []
|
||||||
|
|
||||||
# Only show this for some users when using ioi16
|
# Only show this for some users when using ioi16
|
||||||
if self.contest.format_name != "ioi16" or self.include_frozen:
|
if self.contest.format_name != "ioi16" or self.request.user.is_superuser:
|
||||||
for s in context["submissions"]:
|
for s in context["submissions"]:
|
||||||
if not hasattr(s, "contest"):
|
if not hasattr(s, "contest"):
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<td class="lightbox-submissions-time case-{{'AC' if cur_subtask.points == cur_subtask.total else ('TLE' if cur_subtask.points == '???' else 'WA')}}">
|
<td class="lightbox-submissions-time case-{{'AC' if cur_subtask.points == cur_subtask.total else ('TLE' if cur_subtask.points == '???' else 'WA')}}">
|
||||||
{{ cur_subtask.points }} / {{ cur_subtask.total }}
|
{{ cur_subtask.points }} / {{ cur_subtask.total }}
|
||||||
</td>
|
</td>
|
||||||
{% if cur_subtask.contest_time%}
|
{% if cur_subtask.contest_time %}
|
||||||
<td>
|
<td>
|
||||||
({{ cur_subtask.contest_time }})
|
({{ cur_subtask.contest_time }})
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue