Skip to content

Commit 496f362

Browse files
committed
Only display affected judgings if there is more than one.
If there is only one, it already is the "related" judging.
1 parent e383c56 commit 496f362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/templates/jury/internal_error.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
</td>
7373
</tr>
7474
{% endif %}
75-
{% if internalError.affectedJudgings is not null %}
75+
{% if internalError.affectedJudgings is not null and internalError.affectedJudgings | length > 1 %}
7676
<tr>
77-
<th>Additional affected judgings</th>
77+
<th>All affected judgings</th>
7878
<td>
7979
<ul>
8080
{%- for judging in internalError.affectedJudgings -%}

0 commit comments

Comments
 (0)