1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/wizard-subscription-status.hbs
2023-09-24 12:38:13 +01:00

24 Zeilen
Kein EOL
682 B
Handlebars

<div class="supplier-authorize">
{{#if authorized}}
{{conditional-loading-spinner size="small" condition=unauthorizing}}
<button
{{action "deauthorize"}}
class="deauthorize"
title={{i18n "admin.subscription_client.supplier.deauthorize"}}
role="button"
disabled={{unauthorizing}}
>
{{i18n "admin.wizard.subscription.deauthorize"}}
</button>
{{else}}
{{d-button
icon="id-card"
class="btn-primary"
label="admin.wizard.subscription.authorize"
title="admin.wizard.subscription.authorize"
action=(action "authorize")
}}
{{/if}}
<WizardSubscriptionBadge />
<WizardSubscriptionCta />
</div>