diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index 32a908401c3..44c3ca157bc 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -24,10 +24,17 @@

<%= ts("This tag belongs to the %{tag_class} Category.", :tag_class => @tag.class::NAME) %> <% if @tag.canonical %> - <%= t(".canonical_html", - canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef")), - filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), + <%= t(".canonical_html", + canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef"))) %> + + <% if !@tag.is_a?(Media) %> + <%= t(".filterable_html", + filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> + <% end %> +<% end %> + + <% if @tag.is_a?(Fandom) %> <%= t(".list_fandom_tags_html", fandom_relationship_tags_link: link_to(t(".fandom_relationship_tags"), fandom_path(@tag))) %> <% end %> diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index 12b3e8d85da..21eb0f26ff1 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -2399,7 +2399,8 @@ en: type: Type wrangling_status: Wrangling status show: - canonical_html: It's a %{canonical_tag_link}. You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. + canonical_html: It's a %{canonical_tag_link}. + filterable_html: You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. canonical_tag: canonical tag fandom_relationship_tags: Relationship tags in this fandom filter_bookmarks: filter bookmarks