diff --git a/app/assets/javascripts/discourse/templates/modal/feature-topic.hbs b/app/assets/javascripts/discourse/templates/modal/feature-topic.hbs index 2bc1ce3cd36..1e82906f4da 100644 --- a/app/assets/javascripts/discourse/templates/modal/feature-topic.hbs +++ b/app/assets/javascripts/discourse/templates/modal/feature-topic.hbs @@ -110,37 +110,39 @@ {{/if}} -
-
-
-

- {{#conditional-loading-spinner size="small" condition=loading}} - {{#if bannerCount}} - {{{i18n "topic.feature_topic.banner_exists"}}} + {{#if currentUser.staff}} +


+
+
+

+ {{#conditional-loading-spinner size="small" condition=loading}} + {{#if bannerCount}} + {{{i18n "topic.feature_topic.banner_exists"}}} + {{else}} + {{{i18n "topic.feature_topic.no_banner_exists"}}} + {{/if}} + {{/conditional-loading-spinner}} +

+

+ {{i18n "topic.feature_topic.banner_note"}} +

+

+ {{#if model.isBanner}} + {{i18n "topic.feature_topic.remove_banner"}} {{else}} - {{{i18n "topic.feature_topic.no_banner_exists"}}} + {{i18n "topic.feature_topic.make_banner"}} {{/if}} - {{/conditional-loading-spinner}} -

-

- {{i18n "topic.feature_topic.banner_note"}} -

-

- {{#if model.isBanner}} - {{i18n "topic.feature_topic.remove_banner"}} - {{else}} - {{i18n "topic.feature_topic.make_banner"}} - {{/if}} -

-

- {{#if model.isBanner}} - {{d-button action=(action "removeBanner") icon="thumb-tack" label="topic.feature.remove_banner" class="btn-primary"}} - {{else}} - {{d-button action=(action "makeBanner") icon="thumb-tack" label="topic.feature.make_banner" class="btn-primary"}} - {{/if}} -

+

+

+ {{#if model.isBanner}} + {{d-button action=(action "removeBanner") icon="thumb-tack" label="topic.feature.remove_banner" class="btn-primary"}} + {{else}} + {{d-button action=(action "makeBanner") icon="thumb-tack" label="topic.feature.make_banner" class="btn-primary"}} + {{/if}} +

+
-
+ {{/if}} {{/d-modal-body}}