Skip to content

Commit

Permalink
CWS: hide contest timers.
Browse files Browse the repository at this point in the history
  • Loading branch information
vytisb committed Mar 8, 2024
1 parent 6d1fb7d commit 14fbc4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion cms/server/contest/templates/contest.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h3 id="server_time_box">
<span id="server_time_label">{% trans %}Server time:{% endtrans %}</span>
<span id="server_time"></span>
</h3>
<h3 id="countdown_box">
<h3 id="countdown_box" style="display:none">
<span id="countdown_label"></span>
<span id="countdown"></span>
</h3>
Expand Down
16 changes: 0 additions & 16 deletions cms/server/contest/templates/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ <h2>{% trans %}General information{% endtrans %}</h2>
stop_time=(contest.stop + participation.delay_time + participation.extra_time)|format_datetime_smart %}
The contest will start at {{ start_time }} and will end at {{ stop_time }}.
{% endtrans %}
{% elif phase == 0 %}
{% trans %}The contest is currently running.{% endtrans %}
</p>
<p>
{% trans start_time=(contest.start + participation.delay_time)|format_datetime_smart,
stop_time=(contest.stop + participation.delay_time + participation.extra_time)|format_datetime_smart %}
The contest started at {{ start_time }} and will end at {{ stop_time }}.
{% endtrans %}
{% elif phase >= +1 %}
{% trans %}The contest has already ended.{% endtrans %}
</p>
Expand All @@ -51,14 +43,6 @@ <h2>{% trans %}General information{% endtrans %}</h2>
stop_time=contest.analysis_stop|format_datetime_smart %}
The analysis mode will start at {{ start_time }} and will end at {{ stop_time }}.
{% endtrans %}
{% elif phase == +2 %}
{% trans %}The analysis mode is currently running.{% endtrans %}
</p>
<p>
{% trans start_time=contest.analysis_start|format_datetime_smart,
stop_time=contest.analysis_stop|format_datetime_smart %}
The analysis mode started at {{ start_time }} and will end at {{ stop_time }}.
{% endtrans %}
{% elif phase == +3 %}
{% trans %}The analysis mode has already ended.{% endtrans %}
</p>
Expand Down

0 comments on commit 14fbc4b

Please sign in to comment.