{% extends "chrono/manager_agenda_settings.html" %} {% load i18n %} {% block extrascripts %} {{ block.super }} {% if 'display_exceptions' in request.GET %} {% endif %} {% endblock %} {% block agenda-extra-management-actions %} {% if has_resources %}{% trans 'Add resource' %}{% endif %} {% trans 'New Meeting Type' %} {% trans 'New Desk' %} {% endblock %} {% block agenda-extra-menu-actions %} {% if object.desk_simple_management %}
  • {% trans 'Switch to invididual desk management' %}
  • {% elif agenda_is_available_for_simple_management %}
  • {% trans 'Switch to global desk management' %}
  • {% endif %} {% endblock %} {% block agenda-settings %}

    {% trans 'Meeting Types' %}

    {% if meeting_types %} {% else %}
    {% blocktrans %} This agenda doesn't have any meeting type yet. Click on the "New Meeting Type" button in the top right of the page to add a first one. {% endblocktrans %}
    {% endif %}
    {% if object.desk_simple_management %}

    {% trans 'Desks' %}

    {% endif %}

    {% trans 'Time Periods' %}

    {% if object.prefetched_desks %}
    {% for desk in object.prefetched_desks %} {% if not object.desk_simple_management or object.desk_simple_management and forloop.counter == 1 %}
    {% url 'chrono-manager-agenda-add-time-period' agenda_pk=object.pk pk=desk.pk as add_time_period_url %}
    {% endif %} {% endfor %}
    {% else %}
    {% blocktrans %} This agenda doesn't have any desk yet. Click on the "New Desk" button in the top right of the page to add a first one. {% endblocktrans %}
    {% endif %}
    {% with object.resources.all as agenda_resources %} {% if has_resources %}

    {% trans 'Resources' %}

    {% if agenda_resources %} {% else %}
    {% blocktrans %} This agenda doesn't have any resource yet. Click on the "Add resource" button in the top right of the page to add a first one. {% endblocktrans %}
    {% endif %}
    {% endif %} {% endwith %} {% endblock %}