Show More
Commit Description:
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
Commit Description:
renamed model Configuration to GraderConfiguration, renamed rhtml views to erb, fixed other small errors
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_submission.html.haml
| 18 lines
| 716 B
| text/x-haml
| HamlLexer
|
|
r33 | |||
|
r51 | %tr{:class => ((submission_counter%2==0) ? "info-even" : "info-odd")} | ||
%td.info{:align => "center"} | ||||
= submission_counter+1 | ||||
%td.info= format_short_time(submission.submitted_at) | ||||
|
r52 | %td.info{:align => "center"} | ||
|
r74 | = link_to('[load]',{:action => 'source', :id => submission.id}) | ||
|
r51 | %td.info | ||
- if submission.graded_at!=nil | ||||
= "Graded at #{format_short_time(submission.graded_at)}." | ||||
%br/ | ||||
|
r320 | = "Score: #{(submission.points*100/submission.problem.full_score).to_i} " if GraderConfiguration['ui.show_score'] | ||
|
r73 | = " [" | ||
%tt | ||||
= submission.grader_comment | ||||
= "]" | ||||
|
r51 | %td.info | ||
= render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message } | ||||