From 94d8638b00afcf01b37ac293f8e7f94d1cc67695 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 11 Aug 2023 20:37:53 +0300 Subject: [PATCH] Remove unused inbox css classes --- app/views/messages/_message_summary.html.erb | 4 ++-- app/views/messages/_sent_message_summary.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/messages/_message_summary.html.erb b/app/views/messages/_message_summary.html.erb index dfcb3b02a..048ded17c 100644 --- a/app/views/messages/_message_summary.html.erb +++ b/app/views/messages/_message_summary.html.erb @@ -1,6 +1,6 @@ "> - <%= link_to message_summary.sender.display_name, user_path(message_summary.sender) %> - <%= link_to message_summary.title, message_path(message_summary) %> + <%= link_to message_summary.sender.display_name, user_path(message_summary.sender) %> + <%= link_to message_summary.title, message_path(message_summary) %> <%= l message_summary.sent_on, :format => :friendly %> <%= button_to t(".unread_button"), message_mark_path(message_summary, :mark => "unread"), :remote => true, :class => "btn btn-sm btn-primary", :form_class => "d-inline-block inbox-mark-unread", :hidden => !message_summary.message_read? %> diff --git a/app/views/messages/_sent_message_summary.html.erb b/app/views/messages/_sent_message_summary.html.erb index 39ba0cf81..374e0861f 100644 --- a/app/views/messages/_sent_message_summary.html.erb +++ b/app/views/messages/_sent_message_summary.html.erb @@ -1,6 +1,6 @@ - <%= link_to sent_message_summary.recipient.display_name, user_path(sent_message_summary.recipient) %> - <%= link_to sent_message_summary.title, message_path(sent_message_summary) %> + <%= link_to sent_message_summary.recipient.display_name, user_path(sent_message_summary.recipient) %> + <%= link_to sent_message_summary.title, message_path(sent_message_summary) %> <%= l sent_message_summary.sent_on, :format => :friendly %> <%= button_to t(".destroy_button"), message_path(sent_message_summary, :referer => request.fullpath), :method => :delete, :remote => true, :class => "btn btn-sm btn-danger", :form_class => "d-inline-block inbox-destroy" %> -- 2.39.5