Ghost/ghost/admin/app/components/modal-suspend-user.hbs

14 lines
647 B
Handlebars
Raw Normal View History

<header class="modal-header">
<h1>Are you sure you want to suspend this user?</h1>
</header>
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
<div class="modal-body">
<strong>WARNING:</strong> This user will no longer be able to log in but their posts will be kept.
</div>
<div class="modal-footer">
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
<GhTaskButton @buttonText="Suspend" @successText="Suspended" @task={{this.suspendUser}} @class="gh-btn gh-btn-red gh-btn-icon" data-test-modal-confirm="true" />
</div>