Description:
pretty up main list
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r587:429826ae8bca - - 2 files changed: 8 inserted, 6 deleted

@@ -3,6 +3,7
3 3 = "#{problem.name}"
4 4 %td
5 5 = "#{problem.full_name}"
6 + %br
6 7 = link_to_description_if_any "[#{t 'main.problem_desc'}] <span class='glyphicon glyphicon-file'></span>".html_safe, problem
7 8 %td
8 9 = @prob_submissions[problem.id][:count]
@@ -3,22 +3,23
3 3 = "-"
4 4 - else
5 5 - if submission.graded_at.nil?
6 - =t 'main.submitted_at'
6 + = t 'main.submitted_at'
7 7 = format_short_time(submission.submitted_at.localtime)
8 8 - else
9 - = t 'main.graded_at'
10 - = "#{format_short_time(submission.graded_at.localtime)}, "
9 + %strong= t 'main.graded_at'
10 + = "#{format_short_time(submission.graded_at.localtime)} "
11 + %br
11 12 - if GraderConfiguration['ui.show_score']
12 - = t 'main.score'
13 + %strong= t 'main.score'
13 14 = "#{(submission.points*100/submission.problem.full_score).to_i} "
14 15 = " ["
15 16 %tt
16 17 = submission.grader_comment
17 18 = "]"
19 + %br
20 + %strong View:
18 21 - if GraderConfiguration.show_grading_result
19 - = " | "
20 22 = link_to '[detailed result]', :action => 'result', :id => submission.id
21 - = " | "
22 23 = link_to("[#{t 'main.cmp_msg'}]", {:action => 'compiler_msg', :id => submission.id}, {:popup => true})
23 24 = " | "
24 25 = link_to("[#{t 'main.src_link'}]",{:action => 'source', :id => submission.id})
You need to be logged in to leave comments. Login now