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
File last commit:
Show/Diff file:
Action:
app/views/main/_submission.html.haml | 18 lines | 716 B | text/x-haml | HamlLexer |
%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)
%td.info{:align => "center"}
= link_to('[load]',{:action => 'source', :id => submission.id})
%td.info
- if submission.graded_at!=nil
= "Graded at #{format_short_time(submission.graded_at)}."
%br/
= "Score: #{(submission.points*100/submission.problem.full_score).to_i} " if GraderConfiguration['ui.show_score']
= " ["
%tt
= submission.grader_comment
= "]"
%td.info
= render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message }