{{#each model as |subscription|}} {{/each}}
{{i18n 'discourse_subscriptions.admin.subscriptions.subscription.user'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.subscription_id'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.customer'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.product'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.plan'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.status'}} {{i18n 'discourse_subscriptions.admin.subscriptions.subscription.created_at'}}
{{#if subscription.metadataUserExists}} {{subscription.metadata.username}} {{/if}} {{subscription.id}} {{subscription.customer}} {{subscription.plan.product.name}} {{subscription.plan.nickname}} {{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}}