2011-12-03 16:15:17 +01:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<table id="bill_table" class="list_bills common-table zebra-striped">
|
2011-12-03 17:40:50 +01:00
|
|
|
<thead><tr><th>{{ _("Project") }}</th><th>{{ _("Number of members") }}</th><th>{{ _("Number of bills") }}</th><th>{{_("Newest bill")}}</th><th>{{_("Oldest bill")}}</th></tr></thead>
|
2011-12-03 16:15:17 +01:00
|
|
|
<tbody>{% for project in projects %}
|
2011-12-03 17:40:50 +01:00
|
|
|
<tr><td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td><td>{{ project.get_bills()[1].date }}</td><td>{{ project.get_bills()[-1].date }}</tr>
|
2011-12-03 16:15:17 +01:00
|
|
|
{% endfor %}</tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|
|
|