subscriptions list

This commit is contained in:
Rimian Perkins 2019-10-16 21:29:40 +11:00
parent c845f3be4b
commit 01b78b31df
3 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@
<p class="btn-right">
{{#link-to 'adminPlugins.discourse-patrons.plans.show' 'new' class="btn btn-primary"}}
{{d-icon "plus"}}
<span>{{i18n 'discourse_patrons.admin.plans.new'}}</span>
<span>{{i18n 'discourse_patrons.admin.plans.operations.new'}}</span>
{{/link-to}}
</p>

View File

@ -2,19 +2,15 @@
<table class="table discourse-patrons-admin">
<thead>
<tr>
<th></th>
<th></th>
<th></th>
<th>{{i18n 'discourse_patrons.admin.subscriptions.subscription.subscription_id'}}</th>
<th>{{i18n 'discourse_patrons.admin.subscriptions.subscription.plan'}}</th>
<th>{{i18n 'discourse_patrons.admin.subscriptions.subscription.status'}}</th>
</tr>
</thead>
{{#each model as |subscription|}}
<tr>
<td>{{subscription.id}}</td>
<td>
{{#link-to 'adminPlugins.discourse-patrons.plans.show' subscription.plan.id}}
{{subscription.plan.id}}
{{/link-to}}
</td>
<td>{{subscription.plan.id}}</td>
<td>{{subscription.status}}</td>
</tr>
{{/each}}

View File

@ -88,3 +88,8 @@ en:
amount: Amount
subscriptions:
title: Subscriptions
subscription:
subscription_id: Subscription ID
user: User
plan: Plan
status: Status