2019-10-27 23:05:58 -04:00
|
|
|
<table class="table discourse-patrons-table">
|
2019-09-24 21:18:11 -04:00
|
|
|
<thead>
|
2021-07-04 15:53:55 -04: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-14 18:40:49 -04:00
|
|
|
<th></th>
|
2019-09-24 21:18:11 -04:00
|
|
|
</thead>
|
2021-07-04 15:53:55 -04: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">
|
|
|
|
{{d-button
|
|
|
|
action=(action "editPlan" plan.id)
|
|
|
|
icon="far-edit"
|
|
|
|
class="btn no-text btn-icon"
|
|
|
|
}}
|
|
|
|
{{d-button
|
|
|
|
action=(route-action "destroyPlan")
|
|
|
|
actionParam=plan
|
|
|
|
icon="trash-alt"
|
|
|
|
class="btn-danger btn no-text btn-icon"
|
|
|
|
}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
2019-09-24 21:18:11 -04:00
|
|
|
</table>
|