* Add unread and deleted dmail folders. * Remove dmail_folder cookie (wasn't used). * Default to the received folder so that we don't show sent messages by default.
15 lines
843 B
Plaintext
15 lines
843 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 "Spam", dmails_path(search: { folder: "spam" }) %>
|
|
<%= 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 %>
|