Show More
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available? - add max score query
References:
File last commit:
Show/Diff file:
Action:
app/views/sources/get_latest_submission_status.js.haml | 2 lines | 149 B | text/x-haml | HamlLexer |
:javascript
$("#latest_status").html("#{j render({partial: 'submission_short', locals: {submission: @submission, problem_name: @problem.name}})}")