0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-20 07:41:11 +02:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-subscription-badge.hbs

20 Zeilen
487 B
Handlebars

2023-09-24 13:52:42 +02:00
<DButton
@action={{this.click}}
2023-09-24 12:58:20 +02:00
class="wizard-subscription-badge {{this.subscription.subscriptionType}}"
2023-09-24 13:52:42 +02:00
@title={{this.title}}
{{did-insert this.update}}
2023-09-24 12:58:20 +02:00
>
{{d-icon "pavilion-logo"}}
2023-09-24 14:01:46 +02:00
<span>{{this.label}}</span>
2023-10-09 14:39:10 +02:00
</DButton>
<DButton
@icon={{this.updateIcon}}
2023-10-09 14:39:10 +02:00
@action={{this.update}}
class="btn btn-primary update"
@disabled={{this.updating}}
@title="admin.wizard.subscription.update.title"
>
{{#if this.updating}}
{{loading-spinner size="small"}}
{{/if}}
</DButton>