Fix countdown back bug

This commit is contained in:
cuom1999 2021-12-10 16:36:55 -06:00
parent 16974ab3dc
commit fea5e46cda
7 changed files with 20 additions and 19 deletions

View file

@ -153,7 +153,7 @@
<a href="{{ url('contest_view', contest.key) }}">{{ contest.name }}</a>
</div>
<div class="time">
{{ _('Ends in %(countdown)s.', countdown=contest.time_before_end|as_countdown) }}
{{ _('Ends in %(countdown)s.', countdown=contest.end_time|as_countdown) }}
</div>
</div>
{% endfor %}
@ -171,7 +171,7 @@
<a href="{{ url('contest_view', contest.key) }}">{{ contest.name }}</a>
</div>
<div class="time">
{{ _('Starting in %(countdown)s.', countdown=contest.time_before_start|as_countdown) }}
{{ _('Starting in %(countdown)s.', countdown=contest.start_time|as_countdown) }}
</div>
</div>
{% endfor %}