2013-02-09 10:13:56 +01:00
|
|
|
- title t('.title')
|
2009-01-06 11:49:19 +01:00
|
|
|
|
|
|
|
%div{:style => "width:40em"}
|
2009-01-15 18:26:37 +01:00
|
|
|
%table{:style => "width:25em"}
|
|
|
|
%tr
|
2013-02-09 10:13:56 +01:00
|
|
|
%td= t '.from'
|
2009-01-15 18:26:37 +01:00
|
|
|
%td=h @message.sender_name
|
|
|
|
%tr
|
2013-02-09 10:13:56 +01:00
|
|
|
%td= t '.subject'
|
2009-01-15 18:26:37 +01:00
|
|
|
%td
|
|
|
|
%b=h @message.subject
|
|
|
|
%tr
|
2013-02-09 10:13:56 +01:00
|
|
|
%td= t '.sent_on'
|
2009-01-15 18:26:37 +01:00
|
|
|
%td= format_time(@message.created_at)
|
|
|
|
%hr/
|
|
|
|
%p= simple_format(h(@message.body))
|
|
|
|
%hr/
|
|
|
|
%p
|
2013-02-09 10:13:56 +01:00
|
|
|
= link_to t('.reply'), new_message_path(:message => {:reply_to => @message.id}), class: 'btn'
|
2009-01-15 18:26:37 +01:00
|
|
|
|
|
2013-02-09 10:13:56 +01:00
|
|
|
= link_to t('.all_messages'), messages_path
|