mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 04:08:32 +08:00
29 lines
709 B
Handlebars
29 lines
709 B
Handlebars
{{#if appendReason}}
|
|
<p class="reason">
|
|
{{topic-notifications-options
|
|
value=notificationLevel
|
|
topic=topic
|
|
onChange=(action "changeTopicNotificationLevel")
|
|
options=(hash
|
|
icon=icon
|
|
showFullTitle=showFullTitle
|
|
preventsClickPropagation=true
|
|
showCaret=showCaret
|
|
)
|
|
}}
|
|
<span class="text">{{html-safe topic.details.notificationReasonText}}</span>
|
|
</p>
|
|
{{else}}
|
|
{{topic-notifications-options
|
|
value=notificationLevel
|
|
topic=topic
|
|
onChange=(action "changeTopicNotificationLevel")
|
|
options=(hash
|
|
icon=icon
|
|
showFullTitle=showFullTitle
|
|
preventsClickPropagation=true
|
|
showCaret=showCaret
|
|
)
|
|
}}
|
|
{{/if}}
|