mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 06:12:03 +03:00
e8cb144317
no issue - offer-related modals were split across the top-level `modals` directory and the `modals/offers` directory - normalized to the `modals/offers` directory
24 lines
885 B
Handlebars
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>
|