2019-09-24 21:18:11 -04:00
|
|
|
|
|
|
|
<table class="table discourse-patrons-admin">
|
|
|
|
<thead>
|
|
|
|
<th>{{i18n 'discourse_patrons.admin.plans.plan.plan_id'}}</th>
|
2019-10-17 05:34:26 -04:00
|
|
|
<th>{{i18n 'discourse_patrons.admin.plans.plan.nickname.title'}}</th>
|
2019-09-24 21:18:11 -04:00
|
|
|
<th>{{i18n 'discourse_patrons.admin.plans.plan.interval'}}</th>
|
|
|
|
<th>{{i18n 'discourse_patrons.admin.plans.plan.amount'}}</th>
|
2019-10-14 18:40:49 -04:00
|
|
|
<th></th>
|
2019-09-24 21:18:11 -04:00
|
|
|
</thead>
|
2019-10-08 04:37:22 -04:00
|
|
|
{{#each model as |plan|}}
|
2019-09-24 21:18:11 -04:00
|
|
|
<tr>
|
|
|
|
<td>{{plan.id}}</td>
|
|
|
|
<td>{{plan.nickname}}</td>
|
|
|
|
<td>{{plan.interval}}</td>
|
|
|
|
<td>{{plan.amount}}</td>
|
2019-10-14 18:40:49 -04:00
|
|
|
<td class="td-right">
|
2019-10-08 04:37:22 -04:00
|
|
|
{{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"}}
|
2019-09-24 21:18:11 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|