From bd7639f6ee2da2a3417b64e70fdbf1decbf831ed Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 25 Aug 2016 22:36:05 +0200 Subject: UI: better layer layout for simple tables. Rewrite of all dashboard (refs #1616) --- .../blocks/window_tables/administrativacts.html | 8 +- .../blocks/window_tables/archaeologicalsites.html | 8 +- .../ishtar/blocks/window_tables/parcels.html | 7 +- .../ishtar/dashboards/dashboard_operation.html | 570 ++++++++++++++------- 4 files changed, 404 insertions(+), 189 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html b/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html index 426669cca..4c41ed89e 100644 --- a/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/administrativacts.html @@ -1,6 +1,8 @@ {% load i18n %} - - +

{{caption}}

+
+
+
{{caption}}
@@ -18,3 +20,5 @@ {% endfor %}
{% trans "Ref." %} {% trans "Type" %}
{% trans "No administrative act associated" %}
+ + diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html index d72291c5b..d570b9db2 100644 --- a/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html @@ -1,6 +1,8 @@ {% load i18n %} - - +

{{caption}}

+
+
+
{{caption}}
@@ -18,3 +20,5 @@ {% endfor %}
{% trans "Ref." %} {% trans "Name" %}
{% trans "No archaeological site associated" %}
+ + diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html index 9885680d7..37be138b1 100644 --- a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html @@ -1,6 +1,8 @@ {% load i18n %} - - +

{{ parcels_label }}

+
+
+
{{ parcels_label }}
@@ -20,3 +22,4 @@ {% endfor %}
{% trans "Town" %} {% trans "Year" %}
{% trans "No parcel" %}
+ diff --git a/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html b/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html index b3b75c4ae..a661d304d 100644 --- a/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html +++ b/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load i18n range units %} +{% load i18n range units humanize %} {% block extra_head %} {{form.media}} {% endblock %} @@ -10,496 +10,700 @@

{% trans "Global informations" %}

-
+
+

{% trans "total" %}

+
- {% for lbl, nb in dashboard.total %} - + {% endfor %} -
{% trans "Total" %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "area by type of operation" %}

+
- {% for surface in dashboard.surface_by_type %} - + {% endfor %} -
{% trans "Area by type of operation" %}
{% trans "Status" %}{% trans "Area (ha)" %}
{{surface.operation_type__label}}{{surface.number|m2_to_ha}}{{surface.operation_type__label}}{{surface.number|m2_to_ha|intcomma}}
+
-
+
+

{% trans "by types" %}

+
- - {%for typ in dashboard.types %}{% endfor %} + {% for typ in dashboard.types %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + + {% endfor %} {% for lbl, types in dashboard.by_type %} - {%for nb in types %}{% endfor %} + {%for nb in types %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} -
{% trans "By types" %}
{% trans "State" %}{{typ.label}}{% trans "State" %}{{typ.label}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by year" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, years in dashboard.by_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By year" %}
{% trans "State" %}{{yr}}{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by realisation year" %}

+
- - {%for yr in dashboard.realisation_years %}{% endfor %} + {%for yr in dashboard.realisation_years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, years in dashboard.by_realisation_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By realisation year" %}
{% trans "State" %}{{yr.year}}{% trans "State" %}{{yr.year|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
- - +
+

{% trans "effective operation by type and year" %}

+
+
{% trans "Effective operation by type and year" %}
+ {% for lbl, years in dashboard.effective %} + + {% if forloop.counter0|divisibleby:6 %} - {%for yr in dashboard.years %}{% endfor %} + {%for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} - {% for lbl, years in dashboard.effective %} + {% endif %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "Type" %}{{yr}}{{yr|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by realisation month" %}

+
- - {%for mt in dashboard.last_months %}{% endfor %} + {%for mt in dashboard.last_months %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, months in dashboard.by_realisation_month %} - {%for nb in months %}{% endfor %} + {%for nb in months %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By realisation month" %}
{% trans "State" %}{{mt.date|date:"F Y"|capfirst}}{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+

{% trans "Survey informations" %}

-
+
+

{% trans "total" %}

+
- {% for lbl, nb in dashboard.survey.total %} - + {% endfor %} -
{% trans "Total" %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by year" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {%for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, years in dashboard.survey.by_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By year" %}
{% trans "State" %}{{yr}}{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by realisation year" %}

+
- - {%for yr in dashboard.realisation_years %}{% endfor %} + {%for yr in dashboard.realisation_years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, years in dashboard.survey.by_realisation_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By realisation year" %}
{% trans "State" %}{{yr.year}}{% trans "State" %}{{yr.year|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "current year" %}

+
- - {% for lbl in dashboard.filters_label %}{%endfor%} + {% for lbl in dashboard.filters_label %}{%endfor%} - {% for nb in dashboard.survey.area %}{%endfor%} + {% for nb in dashboard.survey.area %}{%endfor%} - {% for nb in dashboard.survey.manday %}{%endfor%} + {% for nb in dashboard.survey.manday %}{%endfor%} - {% for nb in dashboard.survey.mandayhect %}{%endfor%} + {% for nb in dashboard.survey.mandayhect %}{%endfor%} -
{% trans "Current year" %}
{% trans "Status" %}{{lbl}}{{lbl}}
{% trans "Area"%}{{nb}}{% trans "Area"%}{{nb|intcomma}}
{% trans "Man-day"%}{{nb}}{% trans "Man-day"%}{{nb|intcomma}}
{% trans "Man-day/hectare"%}{{nb}}{% trans "Man-day/hectare"%}{{nb|intcomma}}
- +

{% trans "Man-day/hectare for effective operations (current year):" %} {{dashboard.survey.mandayhect_effective}}

- -
+
+

{% trans "organizations (current year)" %}

+
- {% for org in dashboard.survey.org %} - + {% endfor %} -
{% trans "Organizations (current year)" %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.scientist__attached_to__name}}{{org.area}}{{org.manday}}{{org.mandayhect}}{{org.scientist__attached_to__name}}{{org.area|intcomma}}{{org.manday|intcomma}}{{org.mandayhect|intcomma}}
+
-
+
+

{% trans "current realisation year" %}

+
- {% for lbl in dashboard.filters_label %}{%endfor%} - {% for nb in dashboard.survey.area_realised %}{%endfor%} + {% for nb in dashboard.survey.area_realised %}{%endfor%} - {% for nb in dashboard.survey.manday_realised %}{%endfor%} + {% for nb in dashboard.survey.manday_realised %}{%endfor%} - {% for nb in dashboard.survey.mandayhect_realised %}{%endfor%} + {% for nb in dashboard.survey.mandayhect_realised %}{%endfor%} -
{% trans "Current realisation year" %}
{% trans "Status" %}{{lbl}}
{% trans "Area"%}{{nb}}{% trans "Area"%}{{nb|intcomma}}
{% trans "Man-day"%}{{nb}}{% trans "Man-day"%}{{nb|intcomma}}
{% trans "Man-day/hectare"%}{{nb}}{% trans "Man-day/hectare"%}{{nb|intcomma}}
+

{% trans "Man-day/hectare for effective operations (current realisation year):" %} {{dashboard.survey.mandayhect_real_effective}}

-
+
+

{% trans "organizations (current realisation year)" %}

+
- {% for org in dashboard.survey.org_realised %} - + {% endfor %} -
{% trans "Organizations (current realisation year)" %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.in_charge__attached_to__name}}{{org.area}}{{org.manday}}{{org.mandayhect}}{{org.scientist__attached_to__name}}{{org.area|intcomma}}{{org.manday|intcomma}}{{org.mandayhect|intcomma}}
- -
- - +
{% trans "Area by organization by year" %}
+
+

{% trans "area by organization by year" %}

+
+ - {% for yr in dashboard.years%}{% endfor %} {% for org, vals in dashboard.survey.org_by_year %} - - {% for area, cost in vals %}{% endfor %} + {% if forloop.counter0|divisibleby:4 %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + + {% endfor %} + {% endif %} + + + {% for area, cost in vals %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% endfor %} - {% for area in dashboard.survey.org_by_year_area_mean %}{% endfor %} + {% for area in dashboard.survey.org_by_year_area_mean %} + {% if forloop.counter0|divisibleby:5 %} + {% endif%} + {% endfor %} -
{% trans "Organization" %}{{yr}}
{{org}}{{area}}{% trans "Organization" %}{{yr|default_if_none:''}}
{{org}}{{area|intcomma}}
{% trans "Mean" %}{{area}}{% trans "Mean" %}{{area|intcomma}}
+
-
+
+

{% trans "effective operations areas (ha)" %}

+
- - {% for yr in dashboard.years%}{% endfor %} + {%for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} - {% for nb, mean in dashboard.survey.effective %}{% endfor %} + {% for nb, mean in dashboard.survey.effective %} + {% if forloop.counter0|divisibleby:5 %}{%endif%} + {% endfor %} - {% for nb, avg in dashboard.survey.effective %}{% endfor %} + {% for nb, avg in dashboard.survey.effective %} + {% if forloop.counter0|divisibleby:5 %}{%endif%} + {% endfor %} -
{% trans "Effective operations areas (ha)" %}
 {{yr}}{{yr|default_if_none:''}}
{% trans "Sum" %}{{nb|m2_to_ha}}{% trans "Sum" %}{{nb|m2_to_ha|intcomma}}
{% trans "Average" %}{{avg|m2_to_ha}}{% trans "Average" %}{{avg|m2_to_ha|intcomma}}
+
-
+
+

{% trans "man-days/hectare by year" %}

+
- - {% for yr in dashboard.years%}{% endfor %} + {%for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} - {% for nb, mean in dashboard.survey.mandayshect %}{% endfor %} + {% for nb, mean in dashboard.survey.mandayshect %} + {% if forloop.counter0|divisibleby:5 %}{%endif%} + {% endfor %} - {% for nb, avg in dashboard.survey.mandayshect %}{% endfor %} + {% for nb, avg in dashboard.survey.mandayshect %} + {% if forloop.counter0|divisibleby:5 %} + + {%endif%} + {% endfor %} -
{% trans "Man-Days/hectare by Year" %}
 {{yr}}{{yr|default_if_none:''}}
{% trans "Man-Days/hectare" %}{{nb}}{% trans "Man-Days/hectare" %}{{nb|intcomma}}
{% trans "Average" %}{{avg}}{% trans "Average" %}{{avg|intcomma}}
+
-
+
+

{% trans "by month" %}

+
- - {%for mt in dashboard.last_months %}{% endfor %} + {% for mt in dashboard.last_months %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% for lbl, months in dashboard.survey.by_month %} - {%for nb in months %}{% endfor %} + {%for nb in months %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + + {% endfor %} {% endfor %} -
{% trans "By month" %}
{% trans "State" %}{{mt.date|date:"F Y"|capfirst}}{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by department" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + + {% endif %} + {% endfor %} {% for lbl, years in dashboard.survey.by_dpt %} - {%for nb in years %}{{nb}}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {{nb|intcomma}}{% endfor %} {% endfor %} -
{% trans "By department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}{% trans "Department" %}{{yr|default_if_none:''}}{% trans "Sum" %}
{{lbl}}{{lbl}}
+
-
+
+

{% trans "effective operation by department" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:4 %} + {% endif %} + {% 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 %} + {%for nb, area, cost, fnap in years %} + {% if forloop.counter0|divisibleby:4 %} + {% endif %} + {{nb|intcomma}}{{area|intcomma}}{% endfor %} {% endfor %} -
{% trans "Effective operation by department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}{% trans "Department" %}{{yr|default_if_none:''}}{% trans "Sum" %}
{%trans "Nb."%}{%trans "Area"%}{%trans "Nb."%}{%trans "Area"%}
{{lbl}}{{lbl}}
+
-
+
+

{% trans "main towns by number" %}

+
- {% for lbl, nb in dashboard.survey.towns %} - + {% endfor %} -
{% trans "Main towns by number" %}
{% trans "Town" %}{% trans "Number" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "main towns by surface" %}

+
- {% for lbl, nb in dashboard.survey.towns_surface %} - + {% endfor %} -
{% trans "Main towns by surface" %}
{% trans "Town" %}{% trans "Total surface (ha)" %}
{{lbl}}{{nb|m2_to_ha}}{{lbl}}{{nb|m2_to_ha|intcomma}}
+

{% trans "Excavation informations" %}

-
+
+

{% trans "total" %}

+
- {% for lbl, nb in dashboard.excavation.total %} - + {% endfor %} -
{% trans "Total" %}
{% trans "Status" %}{% trans "Number" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by year" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {%for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% for lbl, years in dashboard.excavation.by_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} -
{% trans "By year" %}
{% trans "State" %}{{yr}}{% trans "State" %}{{yr|default_if_none:''}}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "by realisation year" %}

+
- - {%for yr in dashboard.realisation_years %}{% endfor %} + {% for yr in dashboard.realisation_years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% for lbl, years in dashboard.excavation.by_realisation_year %} - {%for nb in years %}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} -
{% trans "By realisation year" %}
{% trans "State" %}{{yr.year}}{% trans "State" %}{{yr.year}}
{{lbl}}{{nb}}{{lbl}}{{nb}}
+
-
+
+

{% trans "current realisation year" %}

+
- {% for lbl in dashboard.filters_label %}{%endfor%} - {% for nb in dashboard.excavation.area_realised %}{%endfor%} + {% for nb in dashboard.excavation.area_realised %}{%endfor%} - {% for nb in dashboard.excavation.manday_realised %}{%endfor%} + {% for nb in dashboard.excavation.manday_realised %}{%endfor%} - {% for nb in dashboard.excavation.mandayhect_realised %}{%endfor%} + {% for nb in dashboard.excavation.mandayhect_realised %}{%endfor%} -
{% trans "Current realisation year" %}
{% trans "Status" %}{{lbl}}
{% trans "Area"%}{{nb}}{% trans "Area"%}{{nb|default_if_none:'-'|intcomma}}
{% trans "Man-day"%}{{nb}}{% trans "Man-day"%}{{nb|default_if_none:'-'|intcomma}}
{% trans "Man-day/hectare"%}{{nb}}{% trans "Man-day/hectare"%}{{nb|default_if_none:'-'|intcomma}}
+

{% trans "Man-day/hectare for effective operations (current realisation year):" %} {{dashboard.excavation.mandayhect_real_effective}}

-
+
+

{% trans "organizations (current realisation year)" %}

+
- {% for org in dashboard.excavation.org_realised %} - + {% endfor %} -
{% trans "Organizations (current realisation year)" %}
 {% trans "Area" %}{% trans "Man-day" %}{% trans "Man-day/hectare" %}
{{org.in_charge__attached_to__name}}{{org.area}}{{org.manday}}{{org.mandayhect}}{{org.scientist__attached_to__name}}{{org.area|default_if_none:'-'|intcomma}}{{org.manday|default_if_none:'-'|intcomma}}{{org.mandayhect|default_if_none:'-'|intcomma}}
+
-
- - +
+

{% trans "area by organization by year" %}

+
+
{% trans "Area by organization by year" %}
+ {% for org, vals in dashboard.excavation.org_by_year %} + {% if forloop.counter0|divisibleby:5 %} - {% for yr in dashboard.years%}{% endfor %} + {% for yr in dashboard.years%} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} - {% for org, vals in dashboard.excavation.org_by_year %} + {% endif %} - {% for area, cost in vals %}{% endfor %} + {% for area, cost in vals %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} - {% for area in dashboard.excavation.org_by_year_area_sum %}{% endfor %} + {% for area in dashboard.excavation.org_by_year_area_sum %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} - {% for area in dashboard.excavation.org_by_year_area_mean %}{% endfor %} + {% for area in dashboard.excavation.org_by_year_area_mean %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} -
{% trans "Organization" %}{{yr}}{% trans "Organization" %}{{yr|default_if_none:'-'}}
{{org}}{{area}}{{org}}{{area|default_if_none:'-'|intcomma}}
{% trans "Sum" %}{{area}}{% trans "Sum" %}{{area|intcomma}}
{% trans "Mean" %}{{area}}{% trans "Mean" %}{{area|intcomma}}
+
-
- - +
+

{% trans "area by organization by realisation year" %}

+
+
{% trans "Area by organization by realisation year" %}
+ {% for org, vals in dashboard.excavation.org_by_year %} + + {% if forloop.counter0|divisibleby:5 %} - {% for yr in dashboard.years%}{% endfor %} + {% for yr in dashboard.years%} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} - {% for org, vals in dashboard.excavation.org_by_year %} + {% endif %} + - {% for area, cost in vals %}{% endfor %} + {% for area, cost in vals %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} - {% for area in dashboard.excavation.org_by_year_area_sum %}{% endfor %} + {% for area in dashboard.excavation.org_by_year_area_sum %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} - {% for area in dashboard.excavation.org_by_year_area_mean %}{% endfor %} + {% for area in dashboard.excavation.org_by_year_area_mean %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} -
{% trans "Organization" %}{{yr}}{% trans "Organization" %}{{yr|default_if_none:'-'}}
{{org}}{{area}}{{org}}{{area|default_if_none:'-'|intcomma}}
{% trans "Sum" %}{{area}}{% trans "Sum" %}{{area|default_if_none:'-'|intcomma}}
{% trans "Mean" %}{{area}}{% trans "Mean" %}{{area|default_if_none:'-'|intcomma}}
+ -
+
+

{% trans "by month" %}

+
- - {%for mt in dashboard.last_months %}{% endfor %} + {% for mt in dashboard.last_months %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% for lbl, months in dashboard.excavation.by_month %} - {%for nb in months %}{% endfor %} + {% for nb in months %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} {% endfor %} -
{% trans "By month" %}
{% trans "State" %}{{mt.date|date:"F Y"|capfirst}}{% trans "State" %}{{mt.date|date:"N Y"|capfirst}}
{{lbl}}{{nb}}{{lbl}}{{nb|default_if_none:'-'|intcomma}}
+
-
+
+

{% trans "by department" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {% endfor %} + {% for lbl, years in dashboard.excavation.by_dpt %} - {%for nb in years %}{{nb}}{% endfor %} + {% for nb in years %} + {% if forloop.counter0|divisibleby:5 %} + {% endif %} + {{nb|default_if_none:'-'|intcomma}}{% endfor %} {% endfor %} -
{% trans "By department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}{% trans "Department" %}{{yr|default_if_none:'-'}}{% trans "Sum" %}
{{lbl}}{{lbl}}
+
-
+
+

{% trans "effective operation by department" %}

+
- - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %} + {% if forloop.counter0|divisibleby:3 %} + {% endif %} + {% endfor %} - {%for yr in dashboard.years %}{% endfor %} + {% for yr in dashboard.years %}{% endfor %} {% for lbl, years in dashboard.excavation.effective_by_dpt %} - {%for nb, area, cost, fnap in years %}{{nb}}{{cost}}{{fnap}}{% endfor %} + {% for nb, area, cost, fnap in years %} + {% if forloop.counter0|divisibleby:3 %} + {% endif %} + {{nb|intcomma}}{{cost|intcomma}}{{fnap|intcomma}}{% endfor %} {% endfor %} -
{% trans "Effective operation by department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}{% trans "Department" %}{{yr|default_if_none:'-'}}{% trans "Sum" %}
{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}{%trans "Nb."%}{%trans "Cost"%}{%trans "FNAP cost"%}
{{lbl}}{{lbl}}
+
-
+
+

{% trans "main towns by number" %}

+
- {% for lbl, nb in dashboard.excavation.towns %} - + {% endfor %} -
{% trans "Main towns by number" %}
{% trans "Town" %}{% trans "Number" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-
+
+

{% trans "main towns by cost" %}

+
- {% for lbl, nb in dashboard.excavation.towns_cost %} - + {% endfor %} -
{% trans "Main towns by cost" %}
{% trans "Town" %}{% trans "Cost (euros)" %}
{{lbl}}{{nb}}{{lbl}}{{nb|intcomma}}
+
-- cgit v1.2.3