2021-08-10 08:45:23 +02:00
|
|
|
<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-08-10 09:32:21 +02:00
|
|
|
title="admin.wizard.pro.subscription.update"
|
2021-08-10 08:45:23 +02:00
|
|
|
label="admin.wizard.pro.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>
|
|
|
|
<div class="subscription-updated-at" title={{subscription.updated_at}}>
|
|
|
|
{{{i18n 'admin.wizard.pro.subscription.last_updated' updated_at=(format-date subscription.updated_at leaveAgo="true")}}}
|
2021-08-10 08:45:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|