2023-09-04 15:55:51 +02:00
|
|
|
<div class="supplier-authorize">
|
|
|
|
{{#if authorized}}
|
|
|
|
{{conditional-loading-spinner size="small" condition=unauthorizing}}
|
2023-09-24 13:52:42 +02:00
|
|
|
<DButton
|
2023-09-22 15:35:50 +02:00
|
|
|
class="deauthorize"
|
2023-09-24 13:52:42 +02:00
|
|
|
@title={{i18n "admin.subscription_client.supplier.deauthorize"}}
|
|
|
|
@disabled={{unauthorizing}}
|
|
|
|
@action={{this.deauthorize}}
|
2023-09-22 15:35:50 +02:00
|
|
|
>
|
2023-09-04 15:55:51 +02:00
|
|
|
{{i18n "admin.wizard.subscription.deauthorize"}}
|
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-09-24 13:52:42 +02:00
|
|
|
@label="admin.wizard.subscription.authorize"
|
|
|
|
@title="admin.wizard.subscription.authorize"
|
|
|
|
@action={{this.authorize}}
|
|
|
|
/>
|
2023-09-04 15:55:51 +02:00
|
|
|
{{/if}}
|
2023-09-22 15:05:05 +02:00
|
|
|
<WizardSubscriptionBadge />
|
|
|
|
<WizardSubscriptionCta />
|
2023-09-04 15:55:51 +02:00
|
|
|
</div>
|