mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: handle contest status display
This commit is contained in:
1 parent
069f420310
commit
78b1141a02
12 files changed
+29
-31
No files matched your search
@@ -48,7 +48,7 @@
|
||||
<div class="row">
|
||||
<div class="medium-9 columns">
|
||||
{%- for tdoc in tdocs -%}
|
||||
{% if model.contest.isOngoing(tdoc) %}
|
||||
{% if model.contest.isOngoing(tdoc, tsdoc) %}
|
||||
{{ render_important_contest('live', 'Live...', tdoc) }}
|
||||
{% elif model.contest.isUpcoming(tdoc) %}
|
||||
{{ render_important_contest('ready', 'Ready (☆▽☆)', tdoc) }}
|
||||
|
||||
Reference in new issue
Block a user