Description:
add link to submission #id in main/submissions
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r452:d6065f889669 - - 2 files changed: 3 inserted, 0 deleted
@@ -1,10 +1,12 | |||
|
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 | + %td.info{:align => "center"} | |
|
6 | + = link_to "##{submission.id}", controller: :graders, action: :submission, id: submission.id | |
|
5 | 7 | %td.info= format_short_time(submission.submitted_at) |
|
6 | 8 | %td.info{:align => "center"} |
|
7 | 9 | = link_to('[load]',{:action => 'source', :id => submission.id}) |
|
8 | 10 | %td.info |
|
9 | 11 | - if submission.graded_at!=nil |
|
10 | 12 | = "Graded at #{format_short_time(submission.graded_at)}." |
@@ -10,12 +10,13 | |||
|
10 | 10 | %h2= "Task: #{@problem.full_name} (#{@problem.name})" |
|
11 | 11 | |
|
12 | 12 | - if @submissions!=nil |
|
13 | 13 | - if @submissions.length>0 |
|
14 | 14 | %table.info |
|
15 | 15 | %tr.info-head |
|
16 | + %th.info No. | |
|
16 | 17 | %th.info # |
|
17 | 18 | %th.info At |
|
18 | 19 | %th.info Source |
|
19 | 20 | %th.info Result |
|
20 | 21 | %th.info{:width => "300px"} |
|
21 | 22 | Compiler message |
You need to be logged in to leave comments.
Login now