{% extends "chrono/manager_base.html" %} {% load i18n %} {% block appbar %}

{% trans 'Agendas' %}

{% if user.is_staff %} {% trans 'Categories' %} {% endif %} {% trans 'Unavailability calendars' %} {% if user.is_staff %} {% trans 'Resources' %} {% trans 'New' %} {% endif %} {% endblock %} {% block content %} {% if object_list %} {% regroup object_list by category as agenda_groups %} {% for group in agenda_groups %}
{% if group.grouper %}

{{ group.grouper }}

{% elif not forloop.first %}

{% trans "Misc" %}

{% endif %}
{% endfor %} {% else %} {% if user.is_staff %}
{% blocktrans %} This site doesn't have any agenda yet. Click on the "New" button in the top right of the page to add a first one. {% endblocktrans %}
{% else %}

{% trans 'This screen display agendas you can access.' %}

{% trans 'Unfortunately, there is still no agenda configurated this way.' %}

{% endif %} {% endif %} {% endblock %}