{{#d-section pageClass="user-subscriptions" class="user-content"}} {{#if model}}
{{i18n 'discourse_subscriptions.user.subscriptions.id'}} | {{i18n 'discourse_subscriptions.user.plans.product'}} | {{i18n 'discourse_subscriptions.user.plans.rate'}} | {{i18n 'discourse_subscriptions.user.subscriptions.status'}} | {{i18n 'discourse_subscriptions.user.subscriptions.created_at'}} | {{#each model as |subscription|}} |
---|---|---|---|---|---|
{{subscription.id}} | {{subscription.product.name}} | {{subscription.plan.subscriptionRate}} | {{subscription.status}} | {{format-unix-date subscription.created}} | {{#if subscription.loading}} {{loading-spinner size="small"}} {{else}} {{d-button disabled=subscription.canceled label="cancel" action=(route-action "cancelSubscription" subscription) icon="times"}} {{/if}} |