aliases/implications: share secondary links with tags index.
This commit is contained in:
@@ -356,7 +356,7 @@ module ApplicationHelper
|
||||
when "artists", "artist_versions"
|
||||
/^\/artist/
|
||||
|
||||
when "tags"
|
||||
when "tags", "tag_aliases", "tag_implications"
|
||||
/^\/tags/
|
||||
|
||||
when "pools", "pool_versions"
|
||||
@@ -365,12 +365,6 @@ module ApplicationHelper
|
||||
when "moderator/dashboards"
|
||||
/^\/moderator/
|
||||
|
||||
when "tag_aliases"
|
||||
/^\/tag_aliases/
|
||||
|
||||
when "tag_implications",
|
||||
/^\/tag_implications/
|
||||
|
||||
when "wiki_pages", "wiki_page_versions"
|
||||
/^\/wiki_pages/
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= subnav_link_to "Listing", tag_aliases_path %>
|
||||
<%= subnav_link_to "Request alias", new_bulk_update_request_path %>
|
||||
<%= subnav_link_to "Help", wiki_page_path("help:tag_aliases") %>
|
||||
<% end %>
|
||||
@@ -7,4 +7,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
<%= render "tags/secondary_links" %>
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
<%= render "tags/secondary_links" %>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= subnav_link_to "Listing", tag_implications_path %>
|
||||
<%= subnav_link_to "Request implication", new_bulk_update_request_path %>
|
||||
<%= subnav_link_to "Help", wiki_page_path("help:tag_implications") %>
|
||||
<% end %>
|
||||
@@ -7,4 +7,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
<%= render "tags/secondary_links" %>
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
<%= render "tags/secondary_links" %>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<% 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 "Tags", tags_path %>
|
||||
<%= subnav_link_to("Aliases", tag_aliases_path) %>
|
||||
<%= subnav_link_to("Implications", tag_implications_path) %>
|
||||
<%= subnav_link_to "Request alias/implication", new_bulk_update_request_path %>
|
||||
<%= subnav_link_to "Related tags", related_tag_path %>
|
||||
<%= subnav_link_to "Help", wiki_page_path("help:tags") %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user