Show More
Commit Description:
hides deleted user name from messages
Commit Description:
hides deleted user name from messages
References:
File last commit:
Show/Diff file:
Action:
app/views/messages/show.html.haml
| 20 lines
| 627 B
| text/x-haml
| HamlLexer
|
|
r102 | %h3 Message | ||
.message | ||||
.stat | ||||
= "#{@message.sender.full_name} at #{@message.created_at}" | ||||
.body= simple_format(@message.body) | ||||
%h3 Your reply: | ||||
|
r321 | = form_for 'r_message', nil, :url => { :action => 'reply'} do |f| | ||
|
r102 | = f.text_area :body, :rows => 5, :cols => 100 | ||
= f.hidden_field :receiver_id, {:value => @message.sender_id } | ||||
= f.hidden_field :replying_message_id, {:value => @message.id } | ||||
= submit_tag "Post" | ||||
|
r173 | |||
%p | ||||
If you do not want to reply, but want to hide this message from | ||||
console, you can | ||||
= link_to "[hide]", :action => 'hide', :id => @message.id | ||||
this message. (This message will be marked as replied.) | ||||