X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/43db18ae911fef3ad7b36e9ed27e5eff469ef863..8551db4c82df7458632d4aa30e9344d60e0774dc:/app/views/messages/_message_summary.html.erb diff --git a/app/views/messages/_message_summary.html.erb b/app/views/messages/_message_summary.html.erb index 02c60a752..7213cf80d 100644 --- a/app/views/messages/_message_summary.html.erb +++ b/app/views/messages/_message_summary.html.erb @@ -1,5 +1,5 @@ -"> - <%= link_to message.sender.display_name, user_path(message.sender) %> +<%= tag.tr(:id => "inbox-#{message.id}", :class => { "table-success" => !message.message_read? }) do %> + <%= link_to message.sender.display_name, user_path(message.sender), :class => "username d-inline-block text-truncate text-wrap align-bottom", :dir => "auto" %> <%= link_to message.title, message_path(message) %> <%= l message.sent_on, :format => :friendly %> @@ -12,4 +12,4 @@ <% end %> - +<% end %>