Description:
[web] result formatting re: #14 git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@151 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r73:2e25f20894f7 - - 2 files changed: 8 inserted, 2 deleted

@@ -7,9 +7,12
7 7 = link_to('[load]',{:action => 'get_source', :id => submission.id})
8 8 %td.info
9 9 - if submission.graded_at!=nil
10 10 = "Graded at #{format_short_time(submission.graded_at)}."
11 11 %br/
12 12 = "Score: #{submission.points} "
13 - = " [" + submission.grader_comment + "]"
13 + = " ["
14 + %tt
15 + = submission.grader_comment
16 + = "]"
14 17 %td.info
15 18 = render :partial => 'compiler_message', :locals => {:compiler_message => submission.compiler_message }
@@ -5,13 +5,16
5 5 - if submission.graded_at==nil
6 6 Submitted at
7 7 = format_short_time(submission.submitted_at)
8 8 - else
9 9 = "Graded at #{format_short_time(submission.graded_at)}, "
10 10 = "score: #{submission.points} "
11 - = " [" + submission.grader_comment + "]"
11 + = " ["
12 + %tt
13 + = submission.grader_comment
14 + = "]"
12 15 = " | "
13 16 = link_to('[msg]', {:action => 'compiler_msg', :id => submission.id}, {:popup => true})
14 17 = " | "
15 18 = link_to('[source]',{:action => 'source', :id => submission.id})
16 19 = " | "
17 20 = link_to '[submissions]', :action => 'submission', :id => problem_name
You need to be logged in to leave comments. Login now