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>
|
2022-06-30 18:30:50 +08:00
|
|
|
<ComboBox @content={{reasons}} @value={{selectedReason}} @class="suspend-reason" @onChange={{action setSelectedReason}} />
|
2020-11-11 03:31:28 +08:00
|
|
|
{{#if isCustomReason}}
|
2022-06-30 18:30:50 +08:00
|
|
|
<TextField @value={{customReason}} @class="suspend-reason" @onChange={{action 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-06-30 18:30:50 +08:00
|
|
|
<Textarea @value={{message}} class="suspend-message" placeholder={{i18n "admin.user.suspend_message_placeholder"}} />
|