discourse/app/assets/javascripts/admin/templates/components/suspension-details.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
665 B
Handlebars
Raw Normal View History

<div class="reason-controls">
<label>
<div class="suspend-reason-label">
{{#if siteSettings.hide_suspension_reasons}}
{{html-safe (i18n "admin.user.suspend_reason_hidden_label")}}
{{else}}
{{html-safe (i18n "admin.user.suspend_reason_label")}}
{{/if}}
</div>
</label>
{{text-field
value=reason
class="suspend-reason"
placeholderKey="admin.user.suspend_reason_placeholder"}}
</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")}}