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/messages/_message.html.haml
| 7 lines
| 338 B
| text/x-haml
| HamlLexer
|
|
r102 | .message | ||
.stat | ||||
= "#{message.sender.full_name} at #{message.created_at}" | ||||
%div{:class => (!defined?(reply) or (reply==false)) ? "body" : "reply-body"} | ||||
= simple_format(message.body) | ||||
- if message.replied_messages.length!=0 | ||||
= render :partial => 'message', :collection => message.replied_messages, :locals => {:reply => true} | ||||