From d79a15455b230015f36af7d14a45b5f1fa77a855 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 13 Sep 2011 19:05:19 +0200 Subject: Work on operation dashboard (closes #525) - table by departments - table by towns - update french translation --- ishtar/templates/dashboard_operation.html | 211 +++++++++--------------------- 1 file changed, 60 insertions(+), 151 deletions(-) (limited to 'ishtar/templates/dashboard_operation.html') diff --git a/ishtar/templates/dashboard_operation.html b/ishtar/templates/dashboard_operation.html index b1fb0e8d5..71d9563d2 100644 --- a/ishtar/templates/dashboard_operation.html +++ b/ishtar/templates/dashboard_operation.html @@ -279,6 +279,47 @@ {% endfor %} +
+ + + + {%for yr in dashboard.years %}{% endfor %} + + + {%for yr in dashboard.years %}{% endfor %} + + {% for lbl, years in dashboard.survey.effective_by_dpt %} + + {%for nb, area, cost, fnap in years %}{{nb}}{{area}}{% endfor %} + + {% endfor %} +
{% trans "Effective operation by department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}
{%trans "Nb."%}{%trans "Area"%}{%trans "Nb."%}{%trans "Area"%}
{{lbl}}
+ +
+ + + + + + {% for lbl, nb in dashboard.survey.towns %} + + + + {% endfor %} +
{% trans "Main towns by number" %}
{% trans "Town" %}{% trans "Number" %}
{{lbl}}{{nb}}
+ +
+ + + + + + {% for lbl, nb in dashboard.survey.towns_surface %} + + + + {% endfor %} +
{% trans "Main towns by surface" %}
{% trans "Town" %}{% trans "Total surface (m²)" %}
{{lbl}}{{nb}}
@@ -421,181 +462,49 @@ {% endfor %} - - {% endblock %} -- cgit v1.2.3