subscriptions list
This commit is contained in:
parent
c845f3be4b
commit
01b78b31df
|
@ -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>
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -88,3 +88,8 @@ en:
|
|||
amount: Amount
|
||||
subscriptions:
|
||||
title: Subscriptions
|
||||
subscription:
|
||||
subscription_id: Subscription ID
|
||||
user: User
|
||||
plan: Plan
|
||||
status: Status
|
||||
|
|
Loading…
Reference in New Issue