Skip to content

Commit

Permalink
Make results in submission list of rejudgings more clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Nov 27, 2023
1 parent 7deedde commit c2b3d7e
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions webapp/templates/jury/partials/submission_list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@
<th scope="col" colspan="2">team</th>
<th scope="col">problem</th>
<th scope="col">lang</th>
{%- if rejudging is defined %}
<th scope="col">old result</th>
{%- endif %}
{% if showExternalResult and showExternalTestcases %}
<th scope="col" colspan="2">result</th>
<th scope="col" colspan="2">{%-if rejudging is defined %}new {% endif %}result</th>
{% else %}
<th scope="col">result</th>
<th scope="col">{%- if rejudging is defined %}new {% endif %}result</th>
{% endif %}
{% if showExternalResult and not showExternalTestcases %}
<th scope="col">external result</th>
Expand All @@ -72,12 +75,7 @@
<th scope="col" class="table-button-head-left">verified</th>
<th scope="col" class="table-button-head-right">by</th>
{% endif %}
{%- if rejudging is defined %}

<th scope="col">old result</th>
{%- endif %}
{%- if showTestcases is defined and showTestcases %}

<th scope="col" class="not-sortable not-searchable table-button-head-right-right">test results</th>
{%- endif %}

Expand Down Expand Up @@ -146,8 +144,16 @@
</a>
</td>
{% endif %}
{%- if rejudging is defined %}
<td class="{{ tdExtraClass }}"><a href="{{ path('jury_submission', {submitId: submission.submitid}) }}">
{{ submission.oldResult | printValidJuryResult }}
</a></td>
{%- endif %}
<td class="{{ tdExtraClass }}">
<a href="{{ link }}">
{%- if rejudging is defined %}
{% endif %}
{{ submission | printValidJurySubmissionResult }}
</a>
</td>
Expand Down Expand Up @@ -211,14 +217,7 @@
</td>
{% endif %}
{% endif %}
{%- if rejudging is defined %}

<td class="{{ tdExtraClass }}"><a href="{{ path('jury_submission', {submitId: submission.submitid}) }}">
{{ submission.oldResult | printValidJuryResult }}
</a></td>
{%- endif %}
{%- if showTestcases is defined and showTestcases %}

<td class="testcase-results{{ tdExtraClass }} table-button-head-right-right">
{{- submission | testcaseResults -}}
</td>
Expand Down

0 comments on commit c2b3d7e

Please sign in to comment.