Files
Jarek Radosz 21d71e09fc DEV: Fix linting errors (#83)
Template lint errors and broken rubocop linting.
2021-07-04 21:53:55 +02:00

23 lines
710 B
Handlebars

{{#if model}}
<table class="table discourse-subscriptions-user-table">
<thead>
<th>{{i18n "discourse_subscriptions.user.payments.id"}}</th>
<th>{{i18n "discourse_subscriptions.user.payments.amount"}}</th>
<th>{{i18n "discourse_subscriptions.user.payments.created_at"}}</th>
</thead>
<tbody>
{{#each model as |payment|}}
<tr>
<td>{{payment.id}}</td>
<td>{{format-currency payment.currency payment.amountDollars}}</td>
<td>{{format-unix-date payment.created}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{else}}
<div class="alert alert-info">
{{i18n "discourse_subscriptions.user.payments_help"}}
</div>
{{/if}}