Ghost/ghost/admin/app/components/modals/tiers/unarchive.hbs

26 lines
905 B
Handlebars
Raw Normal View History

<div class="modal-content" {{on-key "Enter" (perform this.unarchiveTask)}}>
<header class="modal-header">
<h1>Reactivate tier</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.product.name}}</strong> will re-enable it as an option in portal and allow new members to subscribe to this tier.
</p>
<p>
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.unarchiveTask}}
@class="gh-btn gh-btn-black gh-btn-icon"
/>
</div>
</div>