From 8fbc774dee9e1d54dd32ced6cc31f18f9ce3b11e Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Wed, 23 Sep 2015 21:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E6=98=AF=E6=9C=AC=E4=BA=BA=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=B0=B1=E5=A2=9E=E5=8A=A0=E4=BD=9C=E8=80=85?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/src/oj/problem/my_submission.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template/src/oj/problem/my_submission.html b/template/src/oj/problem/my_submission.html index 5c7ba4e6..c458cd59 100644 --- a/template/src/oj/problem/my_submission.html +++ b/template/src/oj/problem/my_submission.html @@ -40,6 +40,9 @@ {{ submission.result|translate_result }} + {% ifnotequal request.user.id submission.user_id %} +
作者:{{ user.username }}
+ {% endifnotequal %} {% ifequal submission.result 0 %}时间 : {{ submission.accepted_answer_time }}ms 语言 : {{ submission.language|translate_language }} @@ -74,7 +77,7 @@ {% endif %} +{{ request.build_absolute_uri }} {% endif %}