From b6da2dbc66b084cf04124878f9f3617be1cff5bf Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 12 Sep 2013 18:54:28 +0200 Subject: Change m2 to ha in dashboards (refs #559) --- .../templates/ishtar/dashboards/dashboard_file.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'archaeological_files') diff --git a/archaeological_files/templates/ishtar/dashboards/dashboard_file.html b/archaeological_files/templates/ishtar/dashboards/dashboard_file.html index 0548308c0..de8be7d30 100644 --- a/archaeological_files/templates/ishtar/dashboards/dashboard_file.html +++ b/archaeological_files/templates/ishtar/dashboards/dashboard_file.html @@ -1,6 +1,5 @@ {% extends "base.html" %} -{% load i18n %} -{% load range %} +{% load i18n range units %} {% block extra_head %} {{form.media}} {% endblock %} @@ -174,12 +173,12 @@
- + {% for dpt in dashboard.rescue.surface_by_dpt %}{% endfor %} - {% for dpt in dashboard.rescue.surface_by_dpt %}{% endfor%} + {% for dpt in dashboard.rescue.surface_by_dpt %}{% endfor%}
{% trans "Surface by department (m²)"%}{% trans "Surface by department (ha)"%}
{{dpt.department__label}}
{{dpt.number}}{{dpt.number|m2_to_ha}}
@@ -198,12 +197,12 @@
- + {% for town in dashboard.rescue.surface_by_town %}{% endfor %} - {% for town in dashboard.rescue.surface_by_town %}{% endfor%} + {% for town in dashboard.rescue.surface_by_town %}{% endfor%}
{% trans "Main towns by surface (m²)"%}{% trans "Main towns by surface (ha)"%}
{{town.town__name}}
{{town.number}}{{town.number|m2_to_ha}}
-- cgit v1.2.3