mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
修复页面小问题
This commit is contained in:
parent
48df067491
commit
333c4ba24d
@ -56,7 +56,7 @@
|
||||
{{ request.user.username }}
|
||||
<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/submission/">我的提交</a></li>
|
||||
<li><a href="/submissions/">我的提交</a></li>
|
||||
<li><a href="#">我的资料</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="/logout/">退出</a></li>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
def get_problem_accepted_radio(problem):
|
||||
if problem.total_submit_number:
|
||||
return str(int((problem.total_accepted_number * 100) / problem.total_submit_number)) \
|
||||
+ "% (" + str(problem.total_accepted_number) + "/" + str(problem.total_submit_number) + ")"
|
||||
+ "% (" + str(problem.total_accepted_number) + " / " + str(problem.total_submit_number) + ")"
|
||||
return "0%"
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user