diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html index e9c92dd7..3f50915a 100644 --- a/budget/templates/dashboard.html +++ b/budget/templates/dashboard.html @@ -1,20 +1,21 @@ {% extends "layout.html" %} {% block content %} -
{{ _("Project") }} | {{ _("Number of members") }} | {{ _("Number of bills") }} | {{_("Newest bill")}} | {{_("Oldest bill")}} | ||
---|---|---|---|---|---|---|
{{ project.name }} | {{ project.members | count }} | {{ project.get_bills().count() }} | -{% if project.has_bills() %} -{{ project.get_bills().all()[0].date }} | -{{ project.get_bills().all()[-1].date }} | -{% else %} -- | -{% endif %} - |
{{ project.name }} | {{ project.members | count }} | {{ project.get_bills().count() }} | + {% if project.has_bills() %} +{{ project.get_bills().all()[0].date }} | +{{ project.get_bills().all()[-1].date }} | + {% else %} ++ | + {% endif %} + |