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

19 Zeilen
452 B
Handlebars

2023-10-09 14:39:10 +02:00
<DButton
@icon={{this.updateIcon}}
2023-10-09 14:39:10 +02:00
@action={{this.update}}
2023-11-17 16:17:10 +01:00
class="btn update"
2023-10-09 14:39:10 +02:00
@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}}
2023-11-17 16:17:10 +01:00
</DButton>
<DButton
@action={{this.click}}
class="wizard-subscription-badge {{this.subscription.subscriptionType}}"
@title={{this.title}}
>
{{d-icon "pavilion-logo"}}
<span>{{this.label}}</span>
</DButton>