mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 22:15:47 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
19 lines
777 B
Handlebars
19 lines
777 B
Handlebars
{{#if this.appendReason}}
|
|
<p class="reason">
|
|
<TopicNotificationsOptions @value={{this.notificationLevel}} @topic={{this.topic}} @onChange={{action "changeTopicNotificationLevel"}} @options={{hash
|
|
icon=this.icon
|
|
showFullTitle=this.showFullTitle
|
|
showCaret=this.showCaret
|
|
headerAriaLabel=(i18n "topic.notifications.title")
|
|
}} />
|
|
<span class="text">{{html-safe this.notificationReasonText}}</span>
|
|
</p>
|
|
{{else}}
|
|
<TopicNotificationsOptions @value={{this.notificationLevel}} @topic={{this.topic}} @onChange={{action "changeTopicNotificationLevel"}} @options={{hash
|
|
icon=this.icon
|
|
showFullTitle=this.showFullTitle
|
|
showCaret=this.showCaret
|
|
headerAriaLabel=(i18n "topic.notifications.title")
|
|
}} />
|
|
{{/if}}
|