Ghost/ghost/admin/app/components/modals/offers/archive.hbs
Kevin Ansfield e8cb144317 Renamed offer modals
no issue

- offer-related modals were split across the top-level `modals` directory and the `modals/offers` directory
- normalized to the `modals/offers` directory
2022-01-11 17:45:10 +00:00

24 lines
885 B
Handlebars

<div class="modal-content" {{on-key "Enter" (perform this.archiveOfferTask)}}>
<header class="modal-header">
<h1>Archive 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>
New members will no longer be able to subscribe using this offer. All members that previously redeemed <strong>{{@data.offer.name}}</strong> 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.archiveOfferTask}}
@class="gh-btn gh-btn-black gh-btn-icon"
/>
</div>
</div>