Skip to content

Commit 3fe3f95

Browse files
qnighystefano-maggiolo
authored andcommitted
Fix broken layout in submission list page.
Submission lists are broken when all testcases in a task are marked public. This commit fixes the problem.
1 parent dbde2ef commit 3fe3f95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cms/server/templates/contest/task_submissions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h2 style="margin: 40px 0 10px">{{ _("Previous submissions") }}</h2>
205205
<col class="time"/>
206206
{% end %}
207207
<col class="status"/>
208-
{% if score_type is not None and score_type.max_public_score != 0 %}
208+
{% if score_type is not None and score_type.max_public_score != 0 and score_type.max_public_score != score_type.max_score %}
209209
<col class="public_score"/>
210210
<col class="total_score"/>
211211
{% else %}

0 commit comments

Comments
 (0)