Source

django-pim / pcbank / templates / pcbank / transaction_list.html

Full commit
{% extends "pcbank/base.html" %}

{% block body %}
<h2>Transactions</h2>
{% include "pcbank/paginator.html" %}
<table class="table table-striped">
<thead>
<tr><th>Date</th><th>From</th><th>To</th><th>Amount</th></tr>
</thead><tbody>
{% for transaction in object_list %}
<tr><td>{{transaction.date}}</td><td><a href="{{transaction.from_obj.get_absolute_url}}">{{transaction.from_obj}}</a></td><td><a href="{{transaction.content_object.get_absolute_url}}">{{transaction.content_object}}</a></td><td>${{transaction.amount|floatformat:2}}</td></tr>
{% endfor %}
</tbody></table>
{% endblock %}