Ghost/ghost/admin/app/components/settings/members/archive-tier.hbs

19 lines
462 B
Handlebars
Raw Normal View History

{{#if this.tier.active}}
{{#unless this.tier.isNew}}
<button
type="button"
data-test-button="archive-tier"
{{on "click" this.handleArchiveTier}}
>
<span>Archive</span>
</button>
{{/unless}}
{{else}}
<button
type="button"
data-test-button="unarchive-tier"
{{on "click" this.handleUnarchiveTier}}
>
<span>Reactivate</span>
</button>
{{/if}}