{{#conditional-loading-spinner size="small" condition=loading}} {{#if pinnedGloballyCount}} {{{i18n "topic.feature_topic.already_pinned_globally" count=pinnedGloballyCount}}} {{else}} {{{i18n "topic.feature_topic.not_pinned_globally"}}} {{/if}} {{/conditional-loading-spinner}}
{{i18n "topic.feature_topic.global_pin_note"}}
{{else}}{{#conditional-loading-spinner size="small" condition=loading}} {{{alreadyPinnedMessage}}} {{/conditional-loading-spinner}}
{{i18n "topic.feature_topic.pin_note"}}
{{/if}}{{{unPinMessage}}}
{{d-button action="unpin" icon="thumb-tack" label="topic.feature.unpin" class="btn-primary"}}
{{#conditional-loading-spinner size="small" condition=loading}} {{{alreadyPinnedMessage}}} {{/conditional-loading-spinner}}
{{i18n "topic.feature_topic.pin_note"}}
{{{pinMessage}}} {{fa-icon "clock-o"}} {{date-picker value=model.pinnedInCategoryUntil}} {{popup-input-tip validation=pinInCategoryValidation shownAt=pinInCategoryTipShownAt}}
{{d-button action="pin" icon="thumb-tack" label="topic.feature.pin" class="btn-primary"}}
{{#conditional-loading-spinner size="small" condition=loading}} {{#if pinnedGloballyCount}} {{{i18n "topic.feature_topic.already_pinned_globally" count=pinnedGloballyCount}}} {{else}} {{{i18n "topic.feature_topic.not_pinned_globally"}}} {{/if}} {{/conditional-loading-spinner}}
{{i18n "topic.feature_topic.global_pin_note"}}
{{i18n "topic.feature_topic.pin_globally"}} {{fa-icon "clock-o"}} {{date-picker value=model.pinnedGloballyUntil}} {{popup-input-tip validation=pinGloballyValidation shownAt=pinGloballyTipShownAt}}
{{d-button action="pinGlobally" icon="thumb-tack" label="topic.feature.pin_globally" class="btn-primary"}}
{{#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.make_banner"}} {{/if}}
{{#if model.isBanner}} {{d-button action="removeBanner" icon="thumb-tack" label="topic.feature.remove_banner" class="btn-primary"}} {{else}} {{d-button action="makeBanner" icon="thumb-tack" label="topic.feature.make_banner" class="btn-primary"}} {{/if}}