1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/wizard-subscription-status.hbs

24 Zeilen
682 B
Handlebars

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:38:13 +02:00
<button
2023-09-22 15:35:50 +02:00
{{action "deauthorize"}}
class="deauthorize"
title={{i18n "admin.subscription_client.supplier.deauthorize"}}
role="button"
disabled={{unauthorizing}}
>
2023-09-04 15:55:51 +02:00
{{i18n "admin.wizard.subscription.deauthorize"}}
2023-09-24 13:38:13 +02:00
</button>
2023-09-04 15:55:51 +02:00
{{else}}
{{d-button
icon="id-card"
class="btn-primary"
label="admin.wizard.subscription.authorize"
title="admin.wizard.subscription.authorize"
2023-09-22 15:35:50 +02:00
action=(action "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>