Show More
Commit Description:
fix authen pop3 bugs and redundant code
Commit Description:
fix authen pop3 bugs and redundant code
References:
File last commit:
Show/Diff file:
Action:
app/views/graders/submission.html.haml
| 22 lines
| 498 B
| text/x-haml
| HamlLexer
|
|
r105 | %h1= "Submission: #{@submission.id}" | ||
%p | ||||
User: | ||||
= "#{@submission.user.login}" | ||||
%br/ | ||||
Problem: | ||||
- if @submission.problem!=nil | ||||
= "#{@submission.problem.full_name}" | ||||
- else | ||||
= "(n/a)" | ||||
%br/ | ||||
= "Number: #{@submission.number}" | ||||
%br/ | ||||
= "Submitted at: #{format_short_time(@submission.submitted_at)}" | ||||
%b Source code (first 10kb) | ||||
%div{:style => "border: 1px solid black; background: lightgrey"} | ||||
- if @submission.source | ||||
%pre | ||||
|
r342 | =h truncate @submission.source, :length => 10240 | ||
|
r105 | |||