2018-01-10 12:52:31 -05:00
|
|
|
<div class="reason-controls">
|
|
|
|
<label>
|
|
|
|
<div class="suspend-reason-label">
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.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>
|
2022-07-05 13:41:31 -04: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-10 14:31:28 -05:00
|
|
|
{{/if}}
|
2018-01-10 12:52:31 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<div class="suspend-message-label">
|
|
|
|
{{i18n "admin.user.suspend_message"}}
|
|
|
|
</div>
|
|
|
|
</label>
|
2022-07-05 13:41:31 -04:00
|
|
|
<Textarea @value={{this.message}} class="suspend-message" placeholder={{i18n "admin.user.suspend_message_placeholder"}} />
|