discourse/app/assets/javascripts/select-kit/addon/templates/components/topic-notifications-button.hbs
Jarek Radosz 16ea7ab248
DEV: Run angle-brackets codemod (#17286)
Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
2022-06-30 12:30:50 +02:00

19 lines
717 B
Handlebars

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