Skip to content

Commit ed0f7d5

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 fb1948a commit ed0f7d5

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
@@ -43,9 +43,9 @@
4343
</td>
4444
</tr>
4545
{% endif %}
46-
{% if internalError.affectedJudgings is not null %}
46+
{% if internalError.affectedJudgings is not null and internalError.affectedJudgings | length > 1 %}
4747
<tr>
48-
<th>Additional affected judgings</th>
48+
<th>All affected judgings</th>
4949
<td>
5050
<ul>
5151
{%- for judging in internalError.affectedJudgings -%}

0 commit comments

Comments
 (0)