core: admin can remove contestant before contest start (#1196)

This commit is contained in:
Baoshuo authored and GitHub committed 2026-08-03 12:42:33 +08:00
1 parent 52f811cf98
commit f29971a30d
11 files changed
+50 -3

No files matched your search

@@ -13,6 +13,9 @@
{% if tsdoc.endAt and tsdoc.endAt < tdoc.endAt and tdoc.endAt.getTime() > Date.now() and (not tdoc.duration or not tsdoc.startAt or tsdoc.startAt.getTime() + tdoc.duration * 3600000 > Date.now()) %}
| <a name="resume_contest" data-uid="{{ tsdoc.uid }}">{{ _('Resume') }}</a>
{% endif %}
{% if tdoc.beginAt.getTime() > Date.now() %}
| <a name="cancel_registration" data-uid="{{ tsdoc.uid }}">{{ _('Cancel Registration') }}</a>
{% endif %}
</td>
</tr>
{%- endfor -%}