{% extends "oj_base.html" %} {% block title %} 比赛列表 {% endblock %} {% block body %} {% load contest %}
{% if contests %} {% for item in contests %} {% ifequal item.contest_type 0 %} {% endifequal %} {% ifequal item.contest_type 1 %} {% endifequal %} {% ifequal item.contest_type 2 %} {% endifequal %} {% ifequal item.contest_type 3 %} {% endifequal %} {% endfor %}
# 比赛名称 开始时间 比赛类型 状态
{{ item.id }} {{ item.title }} {{ item.start_time }}私有小组赛公开赛公开赛(密码保护)小组邀请赛{{ item|contest_status }}
{% if request.user.is_authenticated %} {% include "oj/contest/_contest_filter.html" %} {% endif %} {% else %}

当前没有合适的比赛,你可以尝试到小组列表申请加入一些小组,以便参加小组内部的比赛

{% include "oj/contest/_contest_filter.html" %} {% endif %}
{% include "oj/announcement/_announcement_panel.html" %}
{% endblock %} {% block js_block %} {% endblock %}