X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..ebcc988376b0dad8a0969803d52b1073420c77b7:/app/views/message/read.html.erb diff --git a/app/views/message/read.html.erb b/app/views/message/read.html.erb index 8a7b6b156..576403170 100644 --- a/app/views/message/read.html.erb +++ b/app/views/message/read.html.erb @@ -5,24 +5,23 @@ - + + + - + + +
<%= 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 %><%= 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' %> <%= h(@message.title) %>
<%= t'message.read.date' %><%= l @message.sent_on %><%= l @message.sent_on, :format => :friendly %>
<%= htmlize(@message.body) %>
@@ -44,18 +43,22 @@ <%= 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' %> <%= h(@message.title) %> + <%= t'message.read.date' %> - <%= l @message.sent_on %> + <%= l @message.sent_on, :format => :friendly %> + <%= htmlize(@message.body) %> +