Show More
Commit Description:
[web] added compiler message and submission links to main/list...
Commit Description:
[web] added compiler message and submission links to main/list
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@147 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_submission_short.html.haml
| 17 lines
| 557 B
| text/x-haml
| HamlLexer
|
|
r51 | |||
- if submission==nil | ||||
= "-" | ||||
- else | ||||
- if submission.graded_at==nil | ||||
Submitted at | ||||
= format_short_time(submission.submitted_at) | ||||
- else | ||||
= "Graded at #{format_short_time(submission.graded_at)}, " | ||||
= "score: #{submission.points} " | ||||
= " [" + submission.grader_comment + "]" | ||||
|
r70 | = " | " | ||
= link_to('[msg]', {:action => 'compiler_msg', :id => submission.id}, {:popup => true}) | ||||
|
r51 | = " | " | ||
|
r70 | = link_to('[source]',{:action => 'source', :id => submission.id}) | ||
= " | " | ||||
= link_to '[submissions]', :action => 'submission', :id => problem_name | ||||