合并dev,添加管理员在前台可见比赛所有提交详情,修改措辞,修改提示形式,以便于提交列表筛选功能的使用

This commit is contained in:
sxw@401
2015-09-08 11:03:59 +08:00
parent 13b7a84c8f
commit e219ff890d
29 changed files with 610 additions and 140 deletions

View File

@@ -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%"