mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
Reverted some formatting changes to dashboard.html that broke CI.
This commit is contained in:
parent
2d8215dd28
commit
252f9f7d1b
1 changed files with 8 additions and 20 deletions
|
@ -2,21 +2,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if is_admin_dashboard_activated %}
|
{% if is_admin_dashboard_activated %}
|
||||||
<table id="bill_table" class="table table-striped">
|
<table id="bill_table" class="table table-striped">
|
||||||
<thead>
|
<thead><tr><th>{{ _("Project") }}</th><th>{{ _("Number of members") }}</th><th>{{ _("Number of bills") }}</th><th>{{_("Newest bill")}}</th><th>{{_("Oldest bill")}}</th><th>{{_("Actions")}}</th></tr></thead>
|
||||||
<tr>
|
|
||||||
<th>{{ _("Project") }}</th>
|
|
||||||
<th>{{ _("Number of members") }}</th>
|
|
||||||
<th>{{ _("Number of bills") }}</th>
|
|
||||||
<th>{{_("Newest bill")}}</th>
|
|
||||||
<th>{{_("Oldest bill")}}</th>
|
|
||||||
<th>{{_("Actions")}}</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>{% for project in projects|sort(attribute='name') %}
|
<tbody>{% for project in projects|sort(attribute='name') %}
|
||||||
<tr>
|
<tr><td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td>
|
||||||
<td>{{ project.name }}</td>
|
|
||||||
<td>{{ project.members | count }}</td>
|
|
||||||
<td>{{ project.get_bills().count() }}</td>
|
|
||||||
{% if project.has_bills() %}
|
{% if project.has_bills() %}
|
||||||
<td>{{ project.get_bills().all()[0].date }}</td>
|
<td>{{ project.get_bills().all()[0].date }}</td>
|
||||||
<td>{{ project.get_bills().all()[-1].date }}</td>
|
<td>{{ project.get_bills().all()[-1].date }}</td>
|
||||||
|
|
Loading…
Reference in a new issue