Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 19:10:29 +01:00
31 Zeilen
892 B
Handlebars
31 Zeilen
892 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
|
|
title="admin.wizard.pro.subscription.update"
|
|
label="admin.wizard.pro.subscription.update"}}
|
|
</div>
|
|
</div>
|
|
|
|
{{#if subscribed}}
|
|
<div class="detail-container">
|
|
<div class="subscription-state {{stateClass}}" title={{stateLabel}}>{{stateLabel}}</div>
|
|
|
|
{{#if subscription.updated_at}}
|
|
<div class="subscription-updated-at" title={{subscription.updated_at}}>
|
|
{{i18n "admin.wizard.pro.subscription.last_updated"}} {{format-date subscription.updated_at leaveAgo="true"}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|