X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0547bda93fe463069bcd79415dacf5b039b24733..e89a78fff858d5db07f6959a39dd9655dc46008e:/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 %>