openstreetmap-website/app/views/messages/_sent_message_summary.html.erb
Anton Khorev a84c1cb89d Remove .message-summary css classes and selectors
They are not necessary because they select every table body row, and the table already has its own class.
2024-04-30 06:49:30 +03:00

10 lines
606 B
Text

<%= tag.tr(:id => "outbox-#{message.id}") do %>
<td><%= link_to message.recipient.display_name, user_path(message.recipient) %></td>
<td><%= link_to message.title, message_path(message) %></td>
<td class="text-nowrap"><%= l message.sent_on, :format => :friendly %></td>
<td class="text-nowrap">
<div class="d-flex justify-content-end gap-1">
<%= button_to t(".destroy_button"), message_path(message, :referer => request.fullpath), :method => :delete, :class => "btn btn-sm btn-danger", :form => { :data => { :turbo => true }, :class => "destroy-message" } %>
</div>
</td>
<% end %>