mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 04:23:40 +08:00
29 lines
737 B
Handlebars
29 lines
737 B
Handlebars
{{#if appendReason}}
|
|
<p class="reason">
|
|
{{topic-notifications-options
|
|
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}}
|
|
{{topic-notifications-options
|
|
value=notificationLevel
|
|
topic=topic
|
|
onChange=(action "changeTopicNotificationLevel")
|
|
options=(hash
|
|
icon=icon
|
|
showFullTitle=showFullTitle
|
|
showCaret=showCaret
|
|
headerAriaLabel=(i18n "topic.notifications.title")
|
|
)
|
|
}}
|
|
{{/if}}
|