Fix ioi16

This commit is contained in:
cuom1999 2022-12-28 23:16:17 -06:00
parent 45ada7995a
commit cdb7834de5
2 changed files with 2 additions and 2 deletions

View file

@ -930,7 +930,7 @@ class UserContestSubmissionsAjax(UserContestSubmissions):
filtered_submissions = []
# 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"]:
if not hasattr(s, "contest"):
continue

View file

@ -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')}}">
{{ cur_subtask.points }} / {{ cur_subtask.total }}
</td>
{% if cur_subtask.contest_time%}
{% if cur_subtask.contest_time %}
<td>
({{ cur_subtask.contest_time }})
</td>