From a919da4dd6471d42f21ef02612fcb709c45d2762 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 17 Jan 2017 17:59:37 -0800 Subject: [PATCH] add id attributes to secondary links for posts --- .../partials/common/_secondary_links.html.erb | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/views/posts/partials/common/_secondary_links.html.erb b/app/views/posts/partials/common/_secondary_links.html.erb index 19a6bbbb7..97ddb9002 100644 --- a/app/views/posts/partials/common/_secondary_links.html.erb +++ b/app/views/posts/partials/common/_secondary_links.html.erb @@ -1,24 +1,24 @@ <% content_for(:secondary_links) do %>
  • <%= link_to "Listing", posts_path %>
  • -
  • <%= link_to "Upload", new_upload_path %>
  • -
  • <%= link_to "Popular", popular_explore_posts_path %>
  • -
  • <%= link_to "Hot", posts_path(:tags => "order:rank") %>
  • + + + <% if Danbooru.config.reportbooru_server %> -
  • <%= link_to "Searches", searches_explore_posts_path %>
  • + <% end %> <% unless CurrentUser.is_anonymous? %> -
  • <%= link_to "Favorites", favorites_path %>
  • -
  • <%= link_to "Favorite groups", favorite_groups_path %>
  • + + <% if CurrentUser.has_saved_searches? %> -
  • <%= link_to "Saved searches", posts_path(:tags => "search:all") %>
  • + <% end %> -
  • <%= link_to "Subscriptions", posts_path(:tags => "sub:#{CurrentUser.name}") %>
  • + <% end %> -
  • <%= link_to "Changes", post_versions_path %>
  • + <% if CurrentUser.can_approve_posts? %> -
  • <%= link_to "Moderate", moderator_post_queue_path %>
  • + <% end %> -
  • <%= link_to "Help", wiki_pages_path(:title => "help:posts") %>
  • +
    <% end %>