X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..0030c7753740820fab12455dd841cd39c58b6475:/app/views/message/read.html.erb diff --git a/app/views/message/read.html.erb b/app/views/message/read.html.erb index 8a7b6b156..6bad015cc 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) %> | +
<%= 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) %> | +