diff --git a/app/views/pools/_secondary_links.html.erb b/app/views/pools/_secondary_links.html.erb index 8f7f93683..2f18d126b 100644 --- a/app/views/pools/_secondary_links.html.erb +++ b/app/views/pools/_secondary_links.html.erb @@ -5,11 +5,13 @@
  • <%= link_to "Listing", pools_path %>
  • <%= link_to "New", new_pool_path %>
  • <%= link_to "Help", wiki_pages_path(:search => {:title => "help:pools"}) %>
  • - <% if CurrentUser.is_member? && @pool && !@pool.new_record? %> + <% if @pool && !@pool.new_record? %>
  • |
  • <%= link_to "Show", pool_path(@pool) %>
  • <%= link_to "Posts", posts_path(:tags => "pool:#{@pool.id}") %>
  • -
  • <%= link_to "Edit", edit_pool_path(@pool) %>
  • + <% 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 %>
  • @@ -18,7 +20,7 @@ <% end %> <% end %>
  • <%= link_to "History", pool_versions_path(:search => {:pool_id => @pool.id}) %>
  • - <% if @pool.post_count <= 100 %> + <% if @pool.post_count <= 100 && CurrentUser.is_member? %>
  • <%= link_to "Order", edit_pool_order_path(@pool) %>
  • <% end %> <% end %>