Description:
update submissions list of the same problem display
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r470:ed9ef25bfcc4 - - 1 file changed: 5 inserted, 1 deleted

@@ -1,14 +1,18
1 1
2 2 %tr{:class => ((submission_counter%2==0) ? "info-even" : "info-odd")}
3 3 %td.info{:align => "center"}
4 4 = submission_counter+1
5 5 %td.info{:align => "center"}
6 6 = link_to "##{submission.id}", controller: :graders, action: :submission, id: submission.id
7 - %td.info= format_short_time(submission.submitted_at)
7 + %td.info
8 + = l submission.submitted_at, format: :long
9 + = "( #{time_ago_in_words(submission.submitted_at)} ago)"
8 10 %td.info{:align => "center"}
11 + = submission.source_filename
12 + = " (#{submission.language.pretty_name}) "
9 13 = link_to('[load]',{:action => 'source', :id => submission.id})
10 14 %td.info
11 15 - if submission.graded_at!=nil
12 16 = "Graded at #{format_short_time(submission.graded_at)}."
13 17 %br/
14 18 = "Score: #{(submission.points*100/submission.problem.full_score).to_i} " if GraderConfiguration['ui.show_score']
You need to be logged in to leave comments. Login now