2018-01-10 12:52:31 -05:00
|
|
|
<div class="reason-controls">
|
|
|
|
<label>
|
|
|
|
<div class="suspend-reason-label">
|
|
|
|
{{#if siteSettings.hide_suspension_reasons}}
|
2020-03-12 11:50:20 -04:00
|
|
|
{{html-safe (i18n "admin.user.suspend_reason_hidden_label")}}
|
2018-01-10 12:52:31 -05:00
|
|
|
{{else}}
|
2020-03-12 11:50:20 -04:00
|
|
|
{{html-safe (i18n "admin.user.suspend_reason_label")}}
|
2018-01-10 12:52:31 -05:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</label>
|
2020-11-10 14:31:28 -05:00
|
|
|
<label>
|
|
|
|
{{i18n "admin.user.suspend_reason_title"}}
|
|
|
|
</label>
|
|
|
|
{{combo-box
|
|
|
|
content=reasons
|
|
|
|
value=selectedReason
|
2018-01-10 12:52:31 -05:00
|
|
|
class="suspend-reason"
|
2020-11-10 14:31:28 -05:00
|
|
|
onChange=(action setSelectedReason)}}
|
|
|
|
{{#if isCustomReason}}
|
|
|
|
{{text-field
|
|
|
|
value=customReason
|
|
|
|
class="suspend-reason"
|
|
|
|
onChange=(action setCustomReason)}}
|
|
|
|
{{/if}}
|
2018-01-10 12:52:31 -05:00
|
|
|
</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")}}
|