0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-subscription-status.hbs

25 Zeilen
683 B
Handlebars

2023-09-04 15:55:51 +02:00
<div class="supplier-authorize">
2023-11-17 16:17:10 +01:00
<WizardSubscriptionBadge />
2024-11-22 16:45:50 +01:00
{{#if this.authorized}}
2024-11-22 16:51:24 +01:00
<ConditionalLoadingSpinner
@condition={{this.unauthorizing}}
@size="small"
/>
2023-09-24 13:52:42 +02:00
<DButton
2023-09-22 15:35:50 +02:00
class="deauthorize"
2023-10-06 17:37:24 +02:00
@title="admin.wizard.subscription.deauthorize.title"
2024-11-22 16:45:50 +01:00
@disabled={{this.unauthorizing}}
2023-09-24 13:52:42 +02:00
@action={{this.deauthorize}}
2023-09-22 15:35:50 +02:00
>
2023-09-28 18:56:27 +02:00
{{i18n "admin.wizard.subscription.deauthorize.label"}}
2023-09-24 13:54:05 +02:00
</DButton>
2023-09-04 15:55:51 +02:00
{{else}}
2023-09-24 13:52:42 +02:00
<DButton
@icon="id-card"
2023-09-04 15:55:51 +02:00
class="btn-primary"
2023-10-06 17:37:24 +02:00
@label="admin.wizard.subscription.authorize.label"
@title="admin.wizard.subscription.authorize.title"
2023-09-24 13:52:42 +02:00
@action={{this.authorize}}
/>
2023-09-04 15:55:51 +02:00
{{/if}}
</div>