mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
19 lines
462 B
Handlebars
19 lines
462 B
Handlebars
{{#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}} |