Show More
Commit Description:
change problem toggle to ajax...
Commit Description:
change problem toggle to ajax
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@286 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_submission_short.html.haml
| 23 lines
| 784 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)}, " | ||||
|
r125 | = "score: #{(submission.points*100/submission.problem.full_score).to_i} " if Configuration['ui.show_score'] | ||
|
r73 | = " [" | ||
%tt | ||||
= submission.grader_comment | ||||
= "]" | ||||
|
r134 | - if Configuration.show_grading_result | ||
= " | " | ||||
= link_to '[detailed result]', :action => 'result', :id => submission.id | ||||
|
r70 | = " | " | ||
= link_to('[msg]', {:action => 'compiler_msg', :id => submission.id}, {:popup => true}) | ||||
|
r51 | = " | " | ||
|
r134 | = link_to('[src]',{:action => 'source', :id => submission.id}) | ||
|
r70 | = " | " | ||
= link_to '[submissions]', :action => 'submission', :id => problem_name | ||||