{% extends "chrono/manager_agenda_view.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {% trans "Settings" %} {% endblock %} {% block appbar %}

{% trans "Settings" %} [{% trans "identifier:" %} {{object.slug}}]

{% if user.is_staff %} {% trans 'Delete' %} {% endif %} {% if user_can_manage %} {% trans 'Options' %} {% if object.kind == "events" %} {% trans 'Import Events' %} {% trans 'New Event' %} {% else %} {% trans 'New Meeting Type' %} {% trans 'New Desk' %} {% endif %} {% endif %} {% endblock %} {% block content %} {% if object.kind == "events" %}

{% trans "Events" %}

{% if object.event_set.count %} {% else %}
{% blocktrans %} This agenda doesn't have any event yet. Click on the "New Event" button in the top right of the page to add a first one. {% endblocktrans %}
{% endif %}
{% endif %} {% if object.kind == "meetings" %}

{% trans 'Meeting Types' %}

{% if object.meetingtype_set.count %} {% 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 %}

{% trans 'Time Periods' %}

{% if object.desk_set.count %}
{% for desk in object.desk_set.all %}
{% url 'chrono-manager-agenda-add-time-period' agenda_pk=object.pk pk=desk.pk as add_time_period_url %}
{% 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 %}
{% endif %}

{% trans "Permissions" %}

{% trans "Booking Delays" %}

{% endblock %}