2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.appendReason}}
|
2020-05-23 12:56:13 +08:00
|
|
|
<p class="reason">
|
2022-07-06 01:41:31 +08:00
|
|
|
<TopicNotificationsOptions @value={{this.notificationLevel}} @topic={{this.topic}} @onChange={{action "changeTopicNotificationLevel"}} @options={{hash
|
|
|
|
icon=this.icon
|
|
|
|
showFullTitle=this.showFullTitle
|
|
|
|
showCaret=this.showCaret
|
2021-09-21 23:19:49 +08:00
|
|
|
headerAriaLabel=(i18n "topic.notifications.title")
|
2022-06-30 18:30:50 +08:00
|
|
|
}} />
|
2022-07-06 01:41:31 +08:00
|
|
|
<span class="text">{{html-safe this.notificationReasonText}}</span>
|
2020-05-23 12:56:13 +08:00
|
|
|
</p>
|
|
|
|
{{else}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<TopicNotificationsOptions @value={{this.notificationLevel}} @topic={{this.topic}} @onChange={{action "changeTopicNotificationLevel"}} @options={{hash
|
|
|
|
icon=this.icon
|
|
|
|
showFullTitle=this.showFullTitle
|
|
|
|
showCaret=this.showCaret
|
2021-09-21 23:19:49 +08:00
|
|
|
headerAriaLabel=(i18n "topic.notifications.title")
|
2022-06-30 18:30:50 +08:00
|
|
|
}} />
|
2020-05-23 12:56:13 +08:00
|
|
|
{{/if}}
|