Skip to content

Commit 9013f12

Browse files
committed
Do not display empty problems table.
1 parent 945d246 commit 9013f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/templates/jury/problems.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<h1>Problems in contest {{ current_contest.name }}</h1>
1515
{% if problems_current is empty %}
1616
<em>There are no problems in this contest.</em>
17+
{% else %}
18+
{{ macros.table(problems_current, table_fields) }}
1719
{% endif %}
18-
19-
{{ macros.table(problems_current, table_fields) }}
2020
{% endif %}
2121

2222
{% if problems_other is not empty %}

0 commit comments

Comments
 (0)