0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 12:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-subscription.hbs

32 Zeilen
919 B
Handlebars

<div class="title-container">
<h3 class="subscription-title">{{title}}</h3>
<div class="buttons">
<span>
{{#if updating}}
{{loading-spinner size="small"}}
{{else if updateIcon}}
{{d-icon updateIcon}}
{{/if}}
</span>
{{d-button
icon="sync"
action=(action "update")
disabled=updating
2021-09-24 11:58:42 +02:00
title="admin.wizard.subscription.subscription.update"
label="admin.wizard.subscription.subscription.update"}}
</div>
</div>
{{#if subscribed}}
<div class="detail-container">
2021-08-10 09:32:21 +02:00
<div class="subscription-state {{stateClass}}" title={{stateLabel}}>{{stateLabel}}</div>
2021-09-01 04:19:00 +02:00
{{#if subscription.updated_at}}
<div class="subscription-updated-at" title={{subscription.updated_at}}>
2021-09-24 11:58:42 +02:00
{{i18n "admin.wizard.subscription.subscription.last_updated"}} {{format-date subscription.updated_at leaveAgo="true"}}
2021-09-01 04:19:00 +02:00
</div>
{{/if}}
</div>
2021-09-07 14:53:45 +02:00
{{/if}}