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

27 lines
621 B
Handlebars

{{#if appendReason}}
<p class="reason">
{{topic-notifications-options
value=notificationLevel
topic=topic
onChange=(action "changeTopicNotificationLevel")
options=(hash
icon=icon
showFullTitle=showFullTitle
showCaret=showCaret
)
}}
<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
)
}}
{{/if}}