summaryrefslogtreecommitdiff
path: root/archaeological_files/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_files/templates')
-rw-r--r--archaeological_files/templates/ishtar/dashboards/dashboard_file.html11
1 files changed, 5 insertions, 6 deletions
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 @@
<div class='table'>
<table>
- <caption>{% trans "Surface by department (m²)"%}</caption>
+ <caption>{% trans "Surface by department (ha)"%}</caption>
<tr>
{% for dpt in dashboard.rescue.surface_by_dpt %}<th>{{dpt.department__label}}</th>{% endfor %}
</tr>
<tr>
- {% for dpt in dashboard.rescue.surface_by_dpt %}<td>{{dpt.number}}</td>{% endfor%}
+ {% for dpt in dashboard.rescue.surface_by_dpt %}<td>{{dpt.number|m2_to_ha}}</td>{% endfor%}
</tr>
</table>
</div>
@@ -198,12 +197,12 @@
<div class='table'>
<table>
- <caption>{% trans "Main towns by surface (m²)"%}</caption>
+ <caption>{% trans "Main towns by surface (ha)"%}</caption>
<tr>
{% for town in dashboard.rescue.surface_by_town %}<th>{{town.town__name}}</th>{% endfor %}
</tr>
<tr>
- {% for town in dashboard.rescue.surface_by_town %}<td>{{town.number}}</td>{% endfor%}
+ {% for town in dashboard.rescue.surface_by_town %}<td>{{town.number|m2_to_ha}}</td>{% endfor%}
</tr>
</table>
</div>