Show More
Commit Description:
master
Commit Description:
master
References:
File last commit:
Show/Diff file:
Action:
app/views/application/_submission.html.haml
| 26 lines
| 907 B
| text/x-haml
| HamlLexer
|
r596 | ||||
%tr | ||||
%td{:align => "center"} | ||||
r644 | = submission.number | |||
%td.text-right | ||||
r596 | = link_to "##{submission.id}", submission_path(submission.id) | |||
%td | ||||
= l submission.submitted_at, format: :long | ||||
= "( #{time_ago_in_words(submission.submitted_at)} ago)" | ||||
%td | ||||
= submission.source_filename | ||||
= " (#{submission.language.pretty_name}) " | ||||
r795 | = link_to '[load]', download_submission_path(submission) | |||
r596 | %td | |||
- if submission.graded_at | ||||
= "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 | ||||
= render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message } | ||||
%td | ||||
r597 | = link_to 'Edit', edit_submission_path(submission.id), class: 'btn btn-success' | |||