diff --git a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs index 2e793cfaa8b..a3b72272010 100644 --- a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs @@ -16,13 +16,8 @@ }} /> {{/if}} - {{#if this.category}} - {{#unless this.tag}} - {{!-- don't show category edit button on tag pages --}} - {{#if this.showCategoryEdit}} - - {{/if}} - {{/unless}} + {{#if (and this.category this.showCategoryEdit)}} + {{/if}} {{#if this.tag}} diff --git a/app/assets/javascripts/discourse/app/templates/tag/show.hbs b/app/assets/javascripts/discourse/app/templates/tag/show.hbs index de725a87a48..5d39fd087a4 100644 --- a/app/assets/javascripts/discourse/app/templates/tag/show.hbs +++ b/app/assets/javascripts/discourse/app/templates/tag/show.hbs @@ -9,7 +9,7 @@
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index e7c08d73729..7ac6707db41 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -3455,6 +3455,7 @@ en: all: "All categories" choose: "category…" edit: "Edit" + edit_title: "Edit this category" edit_dialog_title: "Edit: %{categoryName}" view: "View Topics in Category" back: "Back to category"