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