Skip to content

Commit

Permalink
Do not display empty problems table.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Mar 1, 2025
1 parent 945d246 commit b420a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/templates/jury/problems.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<h1>Problems in contest {{ current_contest.name }}</h1>
{% if problems_current is empty %}
<em>There are no problems in this contest.</em>
{% else %}
{{ macros.table(problems_current, table_fields) }}
{% endif %}

{{ macros.table(problems_current, table_fields) }}
{% endif %}

{% if problems_other is not empty %}
Expand Down

0 comments on commit b420a73

Please sign in to comment.