{% extends "aa_ticket/manage/base.html" %} {% load i18n %} {% block manage_content %}

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

{% translate "Add department" context 'aa_ticket' %}
{% if rows or inactive_rows %} {% if rows %}
{% for row in rows %}{% include "aa_ticket/partials/department_row.html" %}{% endfor %}
{% else %}

{% translate "No active departments." context 'aa_ticket' %}

{% endif %} {% if inactive_rows %}
{% blocktranslate context 'aa_ticket' count n=inactive_rows|length %}Inactive ({{ n }}){% plural %}Inactive ({{ n }}){% endblocktranslate %}
{% for row in inactive_rows %}{% include "aa_ticket/partials/department_row.html" %}{% endfor %}
{% endif %} {% else %}

{% translate "No departments yet. Add the first one so players can submit tickets." context 'aa_ticket' %}

{% translate "Add department" context 'aa_ticket' %}
{% endif %} {% endblock %}