{% extends "layout/basic.html" %} {% import "components/paginator.html" as paginator with context %} {% block content %}
| {{ _('比赛') }} | {{ _('规则') }} | {{ _('结束时间') }} | {{ _('参赛') }} | {{ _('状态') }} | {{ _('操作') }} |
|---|---|---|---|---|---|
|
{{ row.title }}
#{{ row.contestId }}
|
{{ row.rule }} | {% if row.endAt %}{{ datetimeSpan(row.endAt)|safe }}{% else %}-{% endif %} | {{ row.attend }} |
{% if row.published %}
{{ _('已发布') }}
{{ datetimeSpan(row.published.publishedAt)|safe }}
{% elif not config.enabled %}
{{ _('域内未启用') }}
{% elif not row.supported %}
{{ _('不支持该赛制') }}
{% elif config.publishOnlyAfterEnd and not row.done %}
{{ _('等待比赛结束') }}
{% else %}
{{ _('可发布') }}
{% endif %}
|
{% if row.canPublish %} {{ _('发布') }} {% else %} {{ _('预览') }} {% endif %} {% if row.canWithdraw %} {% endif %} |
{{ _('当前子域暂无比赛。') }}{% endif %}