Files
danbooru/app/views/dmails/_secondary_links.html.erb
evazion 170a0e8a48 dmails: remove ability to mark dmails as spam.
Instead of marking messages as spam, users can either report the message
or mark it as deleted.
2020-02-03 04:52:12 -06:00

14 lines
771 B
Plaintext

<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:message_matches, dmails_path, "dmails") %>
<%= subnav_link_to "All", dmails_path(search: { folder: "all" }) %>
<%= subnav_link_to "Received", dmails_path(search: { folder: "received" }) %>
<%= subnav_link_to "Unread", dmails_path(search: { folder: "unread" }) %>
<%= subnav_link_to "Sent", dmails_path(search: { folder: "sent" }) %>
<%= subnav_link_to "Deleted", dmails_path(search: { folder: "deleted" }) %>
<li>|</li>
<%= subnav_link_to "New", new_dmail_path %>
<%= subnav_link_to "Mark all as read", {:controller => "dmails", :action => "mark_all_as_read"}, :method => :post, :remote => true %></li>
<li>|</li>
<%= subnav_link_to "Help", wiki_page_path("help:dmail") %>
<% end %>