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.

19 lines
717 B
Handlebars
Raw Normal View History

{{#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}}