2019-02-22 14:31:45 +03:00
|
|
|
|
<header class="modal-header">
|
2020-07-27 14:27:26 +03:00
|
|
|
|
<h1>Delete member account</h1>
|
2019-02-22 14:31:45 +03:00
|
|
|
|
</header>
|
2020-05-28 19:11:21 +03:00
|
|
|
|
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
2019-02-22 14:31:45 +03:00
|
|
|
|
|
|
|
|
|
<div class="modal-body">
|
2020-07-27 14:27:26 +03:00
|
|
|
|
<p class="mb6">
|
|
|
|
|
Permanently delete <strong>{{this.member.email}}</strong> from Ghost.
|
2019-02-22 14:31:45 +03:00
|
|
|
|
</p>
|
2020-07-24 17:02:42 +03:00
|
|
|
|
|
|
|
|
|
{{#if this.hasActiveStripeSubscriptions}}
|
|
|
|
|
<div class="flex justify-between">
|
2020-07-27 14:27:26 +03:00
|
|
|
|
<div class="form-group for-checkbox gh-member-cancelstripe-checkbox">
|
|
|
|
|
<label class="checkbox">
|
2020-07-24 17:02:42 +03:00
|
|
|
|
<input
|
|
|
|
|
class="gh-input"
|
|
|
|
|
type="checkbox"
|
|
|
|
|
checked={{this.shouldCancelSubscriptions}}
|
|
|
|
|
{{on "click" (action "toggleShouldCancelSubscriptions")}}
|
|
|
|
|
/>
|
2020-07-27 14:27:26 +03:00
|
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
|
<div>
|
|
|
|
|
<h4>Also cancel subscription in Stripe</h4>
|
|
|
|
|
<p>If disabled, the member’s premium subscription will continue</p>
|
|
|
|
|
</div>
|
2020-07-24 17:02:42 +03:00
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
2019-02-22 14:31:45 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
|
2020-07-27 14:27:26 +03:00
|
|
|
|
<GhTaskButton @buttonText={{if this.shouldCancelSubscriptions "Delete member + Cancel subscription" "Delete member"}} @successText="Deleted" @task={{this.deleteMember}} @class="gh-btn gh-btn-red gh-btn-icon" />
|
2019-02-22 14:31:45 +03:00
|
|
|
|
</div>
|