mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
85cce39af7
refs https://github.com/TryGhost/Team/issues/1734 refs https://github.com/TryGhost/Team/issues/559 refs https://github.com/TryGhost/Ghost/issues/14101 - switches to newer modal patterns ready for later Ember upgrades - cleaned up the `upload-image` modal which had multiple areas of code that were no longer being used - disabled `no-duplicate-landmark-elements` template lint rule as it's buggy and mostly gives false positives
21 lines
809 B
Handlebars
21 lines
809 B
Handlebars
<div class="modal-content">
|
|
<header class="modal-header">
|
|
<h1>Are you sure you want to suspend this user?</h1>
|
|
</header>
|
|
<button type="button" class="close" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
|
|
|
|
<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 class="gh-btn" type="button" {{on "click" @close}}><span>Cancel</span></button>
|
|
<GhTaskButton
|
|
@buttonText="Suspend"
|
|
@successText="Suspended"
|
|
@task={{this.suspendUserTask}}
|
|
@class="gh-btn gh-btn-red gh-btn-icon"
|
|
data-test-modal-confirm="true"
|
|
/>
|
|
</div>
|
|
</div> |