diff --git a/template/oj/contest/contest_problems_list.html b/template/oj/contest/contest_problems_list.html index 4dd68c5..2a863dd 100644 --- a/template/oj/contest/contest_problems_list.html +++ b/template/oj/contest/contest_problems_list.html @@ -41,10 +41,11 @@ {% for item in contest_problems %}
| # | -提交时间 | -结果 | -运行时间 | -语言 | -|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # | +用户 | +提交时间 | +结果 | +运行时间 | +语言 | +||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| - {{ forloop.counter |add:start_id }} | - {% else %} -{{ forloop.counter |add:start_id }} | - {% endifequal %} + {% ifequal item.user_id request.user.id %} ++ {{ forloop.counter |add:start_id }} | + {% else %} +{{ forloop.counter |add:start_id }} | + {% endifequal %} -{{ item.create_time }} | -{{ item.result|translate_result }} | -- {% if item.accepted_answer_time %} - {{ item.accepted_answer_time }}ms - {% else %} - -- + | {{ item.user_id|get_username }} | + +{{ item.create_time }} | +{{ item.result|translate_result }} | ++ {% if item.accepted_answer_time %} + {{ item.accepted_answer_time }}ms + {% else %} + -- + {% endif %} + | ++ {{ item.language|translate_language }} + | +
你还没有提交记录!
+ {% endif %} +你还没有提交记录!
- {% endif %} - -