diff --git a/views/submission_content.ejs b/views/submission_content.ejs index 0e56bbd..75ca269 100644 --- a/views/submission_content.ejs +++ b/views/submission_content.ejs @@ -50,6 +50,9 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); <% } %> 提交者 提交时间 + <% if (judge.allowedRejudge) { %> + 重新评测 + <% } %> @@ -78,6 +81,42 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); <% } %> <%= judge.user.username %><% if (judge.user.nameplate) { %><%- judge.user.nameplate %><% } %> <%= syzoj.utils.formatDate(judge.submit_time) %> + <% if (judge.allowedRejudge) { %> + + + + + <% } %> @@ -91,40 +130,6 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); <% if (judge.problem.type !== 'submit-answer' && judge.allowedSeeCode) { %>
- <% if (judge.allowedRejudge) { %> - 重新评测 - - <% } %>
<%- judge.code %>