{% extends "oj_base.html" %} {% block body %} {% load contest %}
# | 比赛名称 | 开始时间 | 比赛类型 | 状态 | ||
---|---|---|---|---|---|---|
{{ item.id }} | {{ item.title }} | {{ item.start_time }} | {% ifequal item.contest_type 0 %}小组赛 | {% endifequal %} {% ifequal item.contest_type 1 %}公开赛 | {% endifequal %} {% ifequal item.contest_type 2 %}公开赛(密码保护) | {% endifequal %}{{ item|contest_status }} |