X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..2638cd525262321f28479e5c5598866b4e2fd93e:/app/views/message/read.html.erb?ds=inline diff --git a/app/views/message/read.html.erb b/app/views/message/read.html.erb index 8a7b6b156..d829c79e9 100644 --- a/app/views/message/read.html.erb +++ b/app/views/message/read.html.erb @@ -4,25 +4,24 @@
<%= t'message.read.from' %> | -- <% if @message.sender.image %> - <%= image_tag url_for_file_column(@message.sender, "image") %> - <% end %> - -<%= link_to h(@message.sender.display_name), :controller => 'user', :action => 'view', :display_name => @message.sender.display_name %> | +<%= t'message.read.from' %> | +<%= link_to h(@message.sender.display_name), :controller => 'user', :action => 'view', :display_name => @message.sender.display_name %> | +<%= user_thumbnail @message.sender %> |
---|---|---|---|---|
<%= t'message.read.subject' %> | +<%= t'message.read.subject' %> | <%= h(@message.title) %> | +||
<%= t'message.read.date' %> | -<%= l @message.sent_on %> | +<%= t'message.read.date' %> | +<%= l @message.sent_on, :format => :friendly %> | +|
- | <%= htmlize(@message.body) %> | +<%= @message.body.to_html %> | +
<%= t'message.read.to' %> | +<%= t'message.read.to' %> | <%= link_to h(@message.recipient.display_name), :controller => 'user', :action => 'view', :display_name => @message.recipient.display_name %> | +<%= user_thumbnail @message.recipient %> | |
---|---|---|---|---|
<%= t'message.read.subject' %> | +<%= t'message.read.subject' %> | <%= h(@message.title) %> | +||
<%= t'message.read.date' %> | -<%= l @message.sent_on %> | +<%= t'message.read.date' %> | +<%= l @message.sent_on, :format => :friendly %> | +|
- | <%= htmlize(@message.body) %> | +<%= @message.body.to_html %> | +