Description:
reporting in test_request
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@97 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r45:ed4dcbabf27d - - 2 files changed: 7 inserted, 3 deleted
@@ -1,11 +1,11 | |||||
|
1 | %tr.test-request |
|
1 | %tr.test-request |
|
2 | %td= test_request_counter +1 |
|
2 | %td= test_request_counter +1 |
|
3 | %td= test_request.problem.full_name |
|
3 | %td= test_request.problem.full_name |
|
4 |
- %td= test_request.submission |
|
4 | + %td= test_request.submission.number |
|
5 | %td= test_request.status_str |
|
5 | %td= test_request.status_str |
|
6 | - %td= test_request.grader_comment or '' |
|
||
|
7 | - %td= test_request.compiler_message or '' |
|
||
|
8 | %td= test_request.running_stat or '' |
|
6 | %td= test_request.running_stat or '' |
|
9 | %td |
|
7 | %td |
|
10 | - if test_request.output_file_name!=nil |
|
8 | - if test_request.output_file_name!=nil |
|
11 | = link_to '[output]', :action => 'read', :id => test_request.id |
|
9 | = link_to '[output]', :action => 'read', :id => test_request.id |
|
|
10 | + %td= test_request.grader_comment or '' | ||
|
|
11 | + %td= test_request.compiler_message or '' |
@@ -58,12 +58,16 | |||||
|
58 | <table border="1"> |
|
58 | <table border="1"> |
|
59 | <tr> |
|
59 | <tr> |
|
60 | <th></td> |
|
60 | <th></td> |
|
61 | <th>problem</th> |
|
61 | <th>problem</th> |
|
62 | <th>#</th> |
|
62 | <th>#</th> |
|
63 | <th>status</th> |
|
63 | <th>status</th> |
|
|
64 | + <th>running stat</th> | ||
|
|
65 | + <th>output</th> | ||
|
|
66 | + <th>grading comment</th> | ||
|
|
67 | + <th>compiler message</th> | ||
|
64 | </tr> |
|
68 | </tr> |
|
65 | <%= render :partial => 'test_request', :collection => @user.test_requests %> |
|
69 | <%= render :partial => 'test_request', :collection => @user.test_requests %> |
|
66 | </table> |
|
70 | </table> |
|
67 |
|
71 | ||
|
68 | <% end %> |
|
72 | <% end %> |
|
69 |
|
73 |
You need to be logged in to leave comments.
Login now