Skip to content

Commit 493f8ad

Browse files
committed
Fix task names showing up in CWS communication page before start
1 parent dc9e824 commit 493f8ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cms/server/contest/templates/communication.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ <h2>{{ _("Questions") }}</h2>
4141
<div class="controls">
4242
<input type="text" name="question_subject" id="input_subject" class="input-xlarge" maxlength="50" list="task_names_list" autocomplete="off">
4343
<datalist id="task_names_list">
44-
{% for task in contest.tasks %}
44+
{% if actual_phase >= 0 %}
45+
{% for task in contest.tasks %}
4546
<option value="{{ task.name }}">
47+
{% end %}
4648
{% end %}
4749
</datalist>
4850
</div>

0 commit comments

Comments
 (0)