Skip to content

Commit 1530b1a

Browse files
committed
Only show warning on jury problemset page before contest start.
1 parent be31ff6 commit 1530b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/templates/jury/problemset.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
problem_statement_path: 'jury_problem_statement',
1212
problem_attachment_path: 'jury_attachment_fetch',
1313
problem_sample_zip_path: 'jury_problem_sample_zip',
14-
show_jury_warning: true
14+
show_jury_warning: not (current_contest.state.started ?? false)
1515
} %}
1616
{% endblock %}

0 commit comments

Comments
 (0)