Ghost/ghost/admin/app/components/modals/tiers/archive.hbs
Hannah Wolfe affe6743e5 Renamed products to tiers (#2372)
refs: https://github.com/TryGhost/Team/issues/1145

- this should allow us to remove the /products endpoint in v5

It avoids:

- `kg-product-card`, that really is meant to say product
- `product-cadence` on offers

Co-authored-by: Rishabh <zrishabhgarg@gmail.com>
2022-05-11 22:41:54 +05:30

27 lines
959 B
Handlebars

<div class="modal-content" {{on-key "Enter" (perform this.archiveTierTask)}}>
<header class="modal-header">
<h1>Archive tier</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">
<p>
Members will no longer be able to subscribe to <strong>{{@data.tier.name}}</strong> and it will be removed from the list of available tiers in portal.
</p>
<p>
Existing members on this tier will remain unchanged.
</p>
</div>
<div class="modal-footer">
<button type="button" class="gh-btn" {{on "click" @close}}><span>Cancel</span></button>
<GhTaskButton
@buttonText="Archive"
@successText="Archived"
@task={{this.archiveTierTask}}
@class="gh-btn gh-btn-black gh-btn-icon"
/>
</div>
</div>