mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 19:53:39 +08:00
09ca75d17e
`app/` means we want to merge it into our application there. `addon` means give it its own module namespace, which is what we wanted.
31 lines
763 B
Handlebars
31 lines
763 B
Handlebars
{{#if appendReason}}
|
|
<p class="reason">
|
|
{{topic-notifications-options
|
|
value=notificationLevel
|
|
topic=topic
|
|
onChange=(action "changeTopicNotificationLevel")
|
|
options=(hash
|
|
icon=icon
|
|
showFullTitle=showFullTitle
|
|
placement=placement
|
|
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
|
|
placement=placement
|
|
preventsClickPropagation=true
|
|
showCaret=showCaret
|
|
)
|
|
}}
|
|
{{/if}}
|