mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
baf6ec07a8
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>
23 lines
836 B
Handlebars
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>
|