mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 22:14:03 +08:00
16ea7ab248
Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
19 lines
717 B
Handlebars
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}}
|