<% content_for(:secondary_links) do %>
  • <%= render "quick_search" %>
  • <%= link_to "All", all_dmails_path(set_default_folder: true) %>
  • <%= link_to "Received", received_dmails_path(set_default_folder: true) %>
  • <%= link_to "Sent", sent_dmails_path(set_default_folder: true) %>
  • <%= link_to "Spam", spam_dmails_path %>
  • |
  • <%= link_to "New", new_dmail_path %>
  • <%= link_to "Mark all as read", {:controller => "dmails", :action => "mark_all_as_read"}, :method => :post, :remote => true %>
  • |
  • <%= link_to "Help", wiki_pages_path(title: "help:dmail") %>
  • <% end %>