0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 01:40:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-subscription-authorize.hbs

16 Zeilen
606 B
Handlebars

2023-09-04 15:55:51 +02:00
<div class="supplier-authorize">
{{#if authorized}}
{{conditional-loading-spinner size="small" condition=unauthorizing}}
<a {{action "deauthorize"}} class="deauthorize" title={{i18n "admin.subscription_client.supplier.deauthorize"}} role="button" disabled={{unauthorizing}}>
{{i18n "admin.wizard.subscription.deauthorize"}}
</a>
{{else}}
{{d-button
icon="id-card"
class="btn-primary"
label="admin.wizard.subscription.authorize"
title="admin.wizard.subscription.authorize"
action=(action "authorize")}}
{{/if}}
2023-09-08 11:54:41 +02:00
{{wizard-subscription-badge}}
2023-09-04 15:55:51 +02:00
</div>