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