main menu: remove aliases and implications pages.
Remove links to the aliases and implications pages from the main menu. Put them in the submenu on the /tags page instead. These pages are too rarely used to deserve being in the toplevel menu. They also weren't easy to find for non-Builders. The toplevel menu shouldn't be dependent on user level.
This commit is contained in:
@@ -9,10 +9,6 @@
|
||||
<%= nav_link_to("Notes", notes_path) %>
|
||||
<%= nav_link_to("Artists", artists_path) %>
|
||||
<%= nav_link_to("Tags", tags_path) %>
|
||||
<% if CurrentUser.is_builder? %>
|
||||
<%= nav_link_to("Aliases", tag_aliases_path) %>
|
||||
<%= nav_link_to("Implications", tag_implications_path) %>
|
||||
<% end %>
|
||||
<%= nav_link_to("Pools", gallery_pools_path) %>
|
||||
<%= nav_link_to("Wiki", wiki_page_path("help:home")) %>
|
||||
<%= nav_link_to("Forum", forum_topics_path, :class => (CurrentUser.has_forum_been_updated? ? "forum-updated" : nil)) %>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= quick_search_form_for(:name_matches, tags_path, "tags", autocomplete: "tag") %>
|
||||
<%= subnav_link_to "Listing", tags_path %>
|
||||
<%= subnav_link_to("Aliases", tag_aliases_path) %>
|
||||
<%= subnav_link_to("Implications", tag_implications_path) %>
|
||||
<%= subnav_link_to "Related tags", related_tag_path %>
|
||||
<%= subnav_link_to "Cheatsheet", wiki_page_path("help:cheatsheet") %>
|
||||
<%= subnav_link_to "Help", wiki_page_path("help:tags") %>
|
||||
|
||||
<% if @tag %>
|
||||
<li>|</li>
|
||||
<%= subnav_link_to "Posts (#{@tag.post_count})", posts_path(:tags => @tag.name) %>
|
||||
|
||||
Reference in New Issue
Block a user