0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 11:00:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-subscription-badge.hbs

20 Zeilen
493 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"
>
2023-11-17 12:26:38 +01:00
{{#if this.updating}}
{{loading-spinner size="small"}}
{{/if}}
</DButton>