Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
45 Zeilen
Kein EOL
1,1 KiB
Handlebars
45 Zeilen
Kein EOL
1,1 KiB
Handlebars
<DButton
|
|
@action={{this.click}}
|
|
class="wizard-subscription-badge {{this.subscription.subscriptionType}}"
|
|
@title={{this.title}}
|
|
{{did-insert this.update}}
|
|
>
|
|
<svg
|
|
width="300px"
|
|
height="300px"
|
|
viewBox="0 0 300 300"
|
|
version="1.1"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
>
|
|
<g
|
|
id="pavilion-logo"
|
|
stroke="none"
|
|
stroke-width="1"
|
|
fill="none"
|
|
fill-rule="evenodd"
|
|
>
|
|
<path
|
|
id="Combined-Shape"
|
|
stroke="currentColor"
|
|
stroke-width="35"
|
|
d="M41.1381822,291.00006 L40.5778853,130.009744 M258.850727,291.638415 L259.290397,130.37133 M36.0002279,140.721678 L139.995368,36.2122772 M263.350577,141.009083 L138.927245,16.2478517"
|
|
></path>
|
|
</g>
|
|
</svg>
|
|
<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"
|
|
/> |