Skip to content

Commit

Permalink
Only display affected judgings if there is more than one.
Browse files Browse the repository at this point in the history
If there is only one, it already is the "related" judging.
  • Loading branch information
meisterT committed Mar 2, 2025
1 parent e383c56 commit 496f362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/templates/jury/internal_error.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
</td>
</tr>
{% endif %}
{% if internalError.affectedJudgings is not null %}
{% if internalError.affectedJudgings is not null and internalError.affectedJudgings | length > 1 %}
<tr>
<th>Additional affected judgings</th>
<th>All affected judgings</th>
<td>
<ul>
{%- for judging in internalError.affectedJudgings -%}
Expand Down

0 comments on commit 496f362

Please sign in to comment.