discourse-subscriptions/assets/javascripts/discourse/templates/admin/plugins-discourse-subscript...

30 lines
915 B
Handlebars
Raw Normal View History

2019-09-24 21:18:11 -04:00
2019-10-27 23:05:58 -04:00
<table class="table discourse-patrons-table">
2019-09-24 21:18:11 -04:00
<thead>
2019-12-03 17:29:13 -05: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>
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>