discourse/app/assets/javascripts/select-kit/addon/templates/components/topic-notifications-button.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
737 B
Handlebars
Raw Normal View History

{{#if appendReason}}
<p class="reason">
{{topic-notifications-options
value=notificationLevel
topic=topic
onChange=(action "changeTopicNotificationLevel")
options=(hash
icon=icon
showFullTitle=showFullTitle
showCaret=showCaret
headerAriaLabel=(i18n "topic.notifications.title")
)
}}
<span class="text">{{html-safe notificationReasonText}}</span>
</p>
{{else}}
{{topic-notifications-options
value=notificationLevel
topic=topic
onChange=(action "changeTopicNotificationLevel")
options=(hash
icon=icon
showFullTitle=showFullTitle
showCaret=showCaret
headerAriaLabel=(i18n "topic.notifications.title")
)
}}
{{/if}}