{% extends "aa_ticket/base.html" %} {% load i18n aa_ticket %} {% block ticket_title %}{% translate "Statistics" context 'aa_ticket' %}{% endblock %} {% block ticket_content %}

{% translate "Statistics" context 'aa_ticket' %}

{% for r in ranges %}{% blocktranslate context 'aa_ticket' count n=r %}{{ n }} day{% plural %}{{ n }} days{% endblocktranslate %}{% endfor %}
{% if rows %}
{% for row in rows %} {% endfor %}
{% translate "Department" context 'aa_ticket' %} {% translate "New" context 'aa_ticket' %} {% translate "Tickets closed" context 'aa_ticket' %} {% translate "Unclaimed now" context 'aa_ticket' %} {% translate "Avg. time to claim" context 'aa_ticket' %} {% translate "Avg. time to close" context 'aa_ticket' %} {% translate "Closed automatically" context 'aa_ticket' %}
{{ row.department.name }} {{ row.created }} {{ row.closed }} {{ row.open_now }} {{ row.avg_claim_seconds|duration }} {{ row.avg_resolve_seconds|duration }} {{ row.auto_closed_ratio|percent }}
{% else %}

{% translate "No departments to show." context 'aa_ticket' %}

{% endif %} {% endblock %}