添加前台比赛提交列表中管理员可见比赛提交详情

This commit is contained in:
sxw@401
2015-09-08 11:42:20 +08:00
parent bd014b5c40
commit 4be9600939

View File

@@ -68,12 +68,8 @@
{% for item in submissions %}
<tr>
{% ifequal item.user_id request.user.id %}
<th scope="row"><a href="/submission/{{ item.id }}/">
{{ forloop.counter |add:start_id }}</a></th>
{% else %}
<th scope="row">{{ forloop.counter |add:start_id }}</th>
{% endifequal %}
<th scope="row">
<a href="/contest/{{ item.contest_id }}/problem/{{ item.problem_id }}/">{{ item.title }}</a>
</th>