2019-10-28 14:05:58 +11:00
|
|
|
<table class="table discourse-patrons-table">
|
2019-09-25 11:18:11 +10:00
|
|
|
<thead>
|
2021-07-04 21:53:55 +02:00
|
|
|
<th>{{i18n "discourse_subscriptions.admin.plans.plan.plan_id"}}</th>
|
|
|
|
|
<th>{{i18n "discourse_subscriptions.admin.plans.plan.nickname.title"}}</th>
|
|
|
|
|
<th>{{i18n "discourse_subscriptions.admin.plans.plan.interval"}}</th>
|
|
|
|
|
<th>{{i18n "discourse_subscriptions.admin.plans.plan.amount"}}</th>
|
2019-10-15 09:40:49 +11:00
|
|
|
<th></th>
|
2019-09-25 11:18:11 +10:00
|
|
|
</thead>
|
2021-07-04 21:53:55 +02:00
|
|
|
<tbody>
|
|
|
|
|
{{#each model as |plan|}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{plan.id}}</td>
|
|
|
|
|
<td>{{plan.nickname}}</td>
|
|
|
|
|
<td>{{plan.interval}}</td>
|
|
|
|
|
<td>{{plan.unit_amount}}</td>
|
|
|
|
|
<td class="td-right">
|
2023-05-02 09:24:28 -05:00
|
|
|
<DButton
|
|
|
|
|
@action={{action "editPlan" plan.id}}
|
|
|
|
|
@icon="far-edit"
|
2021-07-04 21:53:55 +02:00
|
|
|
class="btn no-text btn-icon"
|
2023-05-02 09:24:28 -05:00
|
|
|
/>
|
|
|
|
|
<DButton
|
|
|
|
|
@action={{route-action "destroyPlan"}}
|
|
|
|
|
@actionParam={{plan}}
|
|
|
|
|
@icon="trash-alt"
|
2021-07-04 21:53:55 +02:00
|
|
|
class="btn-danger btn no-text btn-icon"
|
2023-05-02 09:24:28 -05:00
|
|
|
/>
|
2021-07-04 21:53:55 +02:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
2023-01-04 12:39:58 +00:00
|
|
|
</table>
|