console/app/templates/administrator/payments.html
2015-12-01 02:46:00 +03:00

38 lines
No EOL
1.2 KiB
HTML

{% extends 'administrator/_layout.auth.html' %}
{% block title %}Payments{% endblock %}
{% block subtitle %}Payments list{% endblock %}
{% block content %}
Total: {{ payments.total }}
<table class="table table-bordered">
<thead>
<tr>
<th>id</th>
<th>email</th>
<th>amount</th>
<th>status</th>
<th>notified</th>
<th>created</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
{% if payments.total == 0 %}
{% else %}
{% for payment in payments['items'] %}
<tr>
<td>{{ payment.id }}</td>
<td>{{ payment.user.email }}</td>
<td>{{ payment.amount }}</td>
<td>{{ payment.status }}</td>
<td>{{ payment.notified }}</td>
<td>{{ payment.created }}</td>
<td><a href="">edit</a></td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
{% endblock %}