<% content_for(:secondary_links) do %>
  • <%= render "pools/quick_search" %>
  • <%= link_to "Gallery", gallery_pools_path %>
  • <%= link_to "Listing", pools_path %>
  • <%= link_to "New", new_pool_path %>
  • <%= link_to "Help", wiki_pages_path(:search => {:title => "help:pools"}) %>
  • <% if @pool && !@pool.new_record? %>
  • |
  • <%= link_to "Show", pool_path(@pool) %>
  • <%= link_to "Posts", posts_path(:tags => "pool:#{@pool.id}") %>
  • <% if CurrentUser.is_member? %>
  • <%= link_to "Edit", edit_pool_path(@pool) %>
  • <% end %> <% if @pool.deletable_by?(CurrentUser.user) %> <% if @pool.is_deleted? %>
  • <%= link_to "Undelete", undelete_pool_path(@pool), :method => :post, :remote => true %>
  • <% else %>
  • <%= link_to "Delete", pool_path(@pool), :method => :delete, :data => {:confirm => "Are you sure you want to delete this pool?"}, :remote => true %>
  • <% end %> <% end %> <% if PoolArchive.enabled? %>
  • <%= link_to "History", pool_versions_path(:search => {:pool_id => @pool.id}) %>
  • <% end %> <% if @pool.post_count <= 100 && CurrentUser.is_member? %>
  • <%= link_to "Order", edit_pool_order_path(@pool) %>
  • <% end %> <% end %>
    <% end %>