X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c38836ef18229fc0591b8bea872d008d3ab04740..83043d6f1cd85729a3f91e5c73d78a39b8ae7d04:/app/views/messages/_message_summary.html.erb?ds=sidebyside 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 %>