2018-01-11 01:52:31 +08:00
|
|
|
<div class="reason-controls">
|
|
|
|
<label>
|
|
|
|
<div class="suspend-reason-label">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.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>
|
2022-07-06 01:41:31 +08:00
|
|
|
<ComboBox @content={{this.reasons}} @value={{this.selectedReason}} @class="suspend-reason" @onChange={{action this.setSelectedReason}} />
|
|
|
|
{{#if this.isCustomReason}}
|
|
|
|
<TextField @value={{this.customReason}} @class="suspend-reason" @onChange={{action this.setCustomReason}} />
|
2020-11-11 03:31:28 +08:00
|
|
|
{{/if}}
|
2018-01-11 01:52:31 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<div class="suspend-message-label">
|
|
|
|
{{i18n "admin.user.suspend_message"}}
|
|
|
|
</div>
|
|
|
|
</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
<Textarea @value={{this.message}} class="suspend-message" placeholder={{i18n "admin.user.suspend_message_placeholder"}} />
|