0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Updated copy for archive/reactivate offers

refs https://github.com/TryGhost/Team/issues/1148
This commit is contained in:
Rishabh 2021-10-14 00:53:19 +05:30
parent 9d38a0a1e1
commit 2645bb895c
3 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,7 @@
<div class="modal-body">
<p>
Are you sure you want to archive "<strong>{{@data.offer.name}}</strong>" ?
By archiving <strong>{{@data.offer.name}}</strong>, 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>

View file

@ -1,21 +1,20 @@
<div class="modal-content" {{on-key "Enter" (perform this.archiveOfferTask)}}>
<header class="modal-header">
<h1>Unarchive offer</h1>
<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>
Are you sure you want to unarchive "<strong>{{@data.offer.name}}</strong>" ?
Reactivating <strong>{{@data.offer.name}}</strong> will immediately allow new members to subscribe using this offer.
</p>
</div>
<div class="modal-footer">
<button type="button" class="gh-btn" {{on "click" @close}}><span>Cancel</span></button>
<GhTaskButton
@buttonText="Unarchive"
@successText="Unarchived"
@buttonText="Reactivate"
@task={{this.unarchiveOfferTask}}
@class="gh-btn gh-btn-black gh-btn-icon"
/>

View file

@ -219,7 +219,7 @@
class="gh-btn gh-btn-black gh-btn-icon"
{{on "click" this.openConfirmUnarchiveModal}}
>
<span>Activate offer</span>
<span>Reactivate offer</span>
</button>
{{/if}}
</div>