mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 17:43:43 +08:00
36 lines
889 B
Handlebars
36 lines
889 B
Handlebars
<div class="reason-controls">
|
|
<label>
|
|
<div class="suspend-reason-label">
|
|
{{#if siteSettings.hide_suspension_reasons}}
|
|
{{html-safe (i18n "admin.user.suspend_reason_hidden_label")}}
|
|
{{else}}
|
|
{{html-safe (i18n "admin.user.suspend_reason_label")}}
|
|
{{/if}}
|
|
</div>
|
|
</label>
|
|
<label>
|
|
{{i18n "admin.user.suspend_reason_title"}}
|
|
</label>
|
|
{{combo-box
|
|
content=reasons
|
|
value=selectedReason
|
|
class="suspend-reason"
|
|
onChange=(action setSelectedReason)}}
|
|
{{#if isCustomReason}}
|
|
{{text-field
|
|
value=customReason
|
|
class="suspend-reason"
|
|
onChange=(action setCustomReason)}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
<label>
|
|
<div class="suspend-message-label">
|
|
{{i18n "admin.user.suspend_message"}}
|
|
</div>
|
|
</label>
|
|
{{textarea
|
|
value=message
|
|
class="suspend-message"
|
|
placeholder=(i18n "admin.user.suspend_message_placeholder")}}
|