From f31429494294d2f3bc2cb93e07f7c297b61db777 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 13 Sep 2011 12:44:02 +0200 Subject: Work on operation dashboard (refs #525) - manage OperationDepartment database view - table by department - table by month --- ishtar/templates/dashboard_operation.html | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'ishtar/templates/dashboard_operation.html') diff --git a/ishtar/templates/dashboard_operation.html b/ishtar/templates/dashboard_operation.html index add9ecdd3..b1fb0e8d5 100644 --- a/ishtar/templates/dashboard_operation.html +++ b/ishtar/templates/dashboard_operation.html @@ -253,6 +253,32 @@ +
+ + + + {%for mt in dashboard.last_months %}{% endfor %} + + {% for lbl, months in dashboard.survey.by_month %} + + {%for nb in months %}{% endfor %} + + {% endfor %} +
{% trans "By month" %}
{% trans "State" %}{{mt.date|date:"F Y"|capfirst}}
{{lbl}}{{nb}}
+ +
+ + + + {%for yr in dashboard.years %}{% endfor %} + + {% for lbl, years in dashboard.survey.by_dpt %} + + {%for nb in years %}{{nb}}{% endfor %} + + {% endfor %} +
{% trans "By department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}
{{lbl}}
+ @@ -369,6 +395,31 @@ +
+ + + + {%for mt in dashboard.last_months %}{% endfor %} + + {% for lbl, months in dashboard.excavation.by_month %} + + {%for nb in months %}{% endfor %} + + {% endfor %} +
{% trans "By month" %}
{% trans "State" %}{{mt.date|date:"F Y"|capfirst}}
{{lbl}}{{nb}}
+ +
+ + + + {%for yr in dashboard.years %}{% endfor %} + + {% for lbl, years in dashboard.excavation.by_dpt %} + + {%for nb in years %}{{nb}}{% endfor %} + + {% endfor %} +
{% trans "By department" %}
{% trans "Department" %}{{yr}}{% trans "Sum" %}
{{lbl}}