Ghost/ghost/admin/app/components/modals/offers/unarchive.hbs
Rishabh Garg baf6ec07a8 Wired UI for archiving tiers (#2231)
refs https://github.com/TryGhost/Team/issues/1252

- allows site owners to (un)archive existing tiers via Admin UI
- adds option to switch between archived or active tiers view

Co-authored-by: Djordje Vlaisavljevic <dzvlais@gmail.com>
2022-01-31 23:56:12 +05:30

23 lines
836 B
Handlebars

<div class="modal-content" {{on-key "Enter" (perform this.unarchiveOfferTask)}}>
<header class="modal-header">
<h1>Reactivate offer</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>
Reactivating <strong>{{@data.offer.name}}</strong> will allow new members to subscribe to this tier. Existing members will remain unchanged.
</p>
</div>
<div class="modal-footer">
<button type="button" class="gh-btn" {{on "click" @close}}><span>Cancel</span></button>
<GhTaskButton
@buttonText="Reactivate"
@task={{this.unarchiveOfferTask}}
@class="gh-btn gh-btn-black gh-btn-icon"
/>
</div>
</div>