{% extends "base.html" %}
{% load i18n range units humanize %}
{% block extra_head %}
{{form.media}}
{% endblock %}
{% block content %}
{% trans "Global informations" %}
{{dashboard.total_number|intcomma}}
{% for type in dashboard.types %}
{{type.number|intcomma}}
{% endfor %}
{% trans "by year"%}
{% for year in dashboard.by_year %}{% if year.date.year %}{{year.date.year}}{% else %}{% trans "no year" %}{% endif %} | {% endfor %}
{% for year in dashboard.by_year %}{{year.number|intcomma}} | {% endfor%}
{% trans "by month"%}
{% for month in dashboard.by_month %}{{month.date|date:"N Y"|capfirst}} | {% endfor %}
{% for month in dashboard.by_month %}{{month.number|intcomma}} | {% endfor%}
{% trans "Research archaeology" %}
{{dashboard.research.total_number|intcomma}}
{% trans "by year"%}
{% for year in dashboard.research.by_year %}{{year.date.year}} | {% endfor %}
{% for year in dashboard.research.by_year %}{{year.number|intcomma}} | {% endfor%}
{% trans "by month"%}
{% for month in dashboard.research.by_month %}{{month.date|date:"F Y"|capfirst}} | {% endfor %}
{% for month in dashboard.research.by_month %}{{month.number|intcomma}} | {% endfor%}
{% trans "by department"%}
{% for dpt in dashboard.research.by_dpt %}{{dpt.department__label}} | {% endfor %}
{% for dpt in dashboard.research.by_dpt %}{{dpt.number|intcomma}} | {% endfor%}
{% trans "main towns"%}
{% for town in dashboard.research.towns %}{{town.town__name}} | {% endfor %}
{% for town in dashboard.research.towns %}{{town.number|intcomma}} | {% endfor%}
{% trans "Rescue archaeology" %}
{{dashboard.rescue.total_number|intcomma}}
{% trans "by saisine type"%}
{% for saisine in dashboard.rescue.saisine %}{{saisine.saisine_type__label}} | {% endfor %}
{% for saisine in dashboard.rescue.saisine %}{{saisine.number|intcomma}} | {% endfor%}
{% trans "by administrative act"%}
{% for act in dashboard.rescue.administrative_act %}{{act.act_type__label}} | {% endfor %}
{% for act in dashboard.rescue.administrative_act %}{{act.number|intcomma}} | {% endfor%}
{% trans "by year"%}
{% for year in dashboard.rescue.by_year %}{{year.date.year}} | {% endfor %}
{% for year in dashboard.rescue.by_year %}{{year.number|intcomma}} | {% endfor%}
{% trans "by month"%}
{% for month in dashboard.rescue.by_month %}{{month.date|date:"F Y"|capfirst}} | {% endfor %}
{% for month in dashboard.rescue.by_month %}{{month.number|intcomma}} | {% endfor%}
{{dashboard.rescue.with_associated_operation|intcomma}}
{{dashboard.rescue.with_associated_operation_percent|intcomma}}
{% trans "archaeological files linked to at least one operation (%)"%}
{% for year in dashboard.rescue.operational_by_year %}{{year.date.year}} | {% endfor %}
{% for year in dashboard.rescue.operational_by_year %}{{year.number|intcomma}} | {% endfor%}
{% trans "by department"%}
{% for dpt in dashboard.rescue.by_dpt %}{{dpt.department__label}} | {% endfor %}
{% for dpt in dashboard.rescue.by_dpt %}{{dpt.number|intcomma}} | {% endfor%}
{% trans "surface by department (ha)"%}
{% for dpt in dashboard.rescue.surface_by_dpt %}{{dpt.department__label}} | {% endfor %}
{% for dpt in dashboard.rescue.surface_by_dpt %}{{dpt.number|m2_to_ha|intcomma}} | {% endfor%}
{% trans "main towns by number"%}
{% for town in dashboard.rescue.towns %}{{town.town__name}} | {% endfor %}
{% for town in dashboard.rescue.towns %}{{town.number|intcomma}} | {% endfor%}
{% trans "main towns by surface (ha)"%}
{% for town in dashboard.rescue.surface_by_town %}{{town.town__name}} | {% endfor %}
{% for town in dashboard.rescue.surface_by_town %}{{town.number|m2_to_ha|intcomma}} | {% endfor%}
{% endblock %}