0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-05-19 15:30:05 +02:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-subscription-badge.hbs

23 Zeilen
562 B
Handlebars

<DButton
@action={{this.click}}
class="wizard-subscription-badge {{this.subscription.subscriptionType}}"
@title={{this.title}}
{{did-insert this.update}}
>
{{d-icon "pavilion-logo"}}
<span>{{this.label}}</span>
</DButton>
<span class="loading-container">
{{#if this.updating}}
{{loading-spinner size="small"}}
{{else if updateIcon}}
{{d-icon updateIcon}}
{{/if}}
</span>
<DButton
@icon="sync"
@action={{this.update}}
class="btn btn-primary update"
@disabled={{this.updating}}
@title="admin.wizard.subscription.update.title"
/>