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

{% trans "Settings" %}

{% trans 'Add custody period' %} {% if has_holidays %} {% trans 'Add custody rule during holidays' %} {% endif %} {% trans 'Add custody rule' %} {% endblock %} {% block content %} {% if not agenda.is_complete %}

{% trans "Custody rules are not complete." %}

{% endif %}

{% trans "Custody rules" %}

{% if agenda.rules.all %} {% else %}
{% blocktrans trimmed %} This agenda doesn't have any custody rules yet. {% endblocktrans %}
{% endif %}
{% if has_holidays %}

{% trans "Custody rules during holidays" %}

{% if agenda.holiday_rules.all %} {% else %}
{% blocktrans trimmed %} This agenda doesn't specify any custody rules during holidays. It means normal rules will be applied. {% endblocktrans %}
{% endif %}
{% endif %}

{% trans "Exceptional custody periods" %}

{% if exceptional_periods %} {% else %}
{% blocktrans trimmed %} This agenda doesn't have any custody period. They can be used to specify explicit moments when one of the guardian should have custody, regardless of global rules. {% endblocktrans %}
{% endif %}
{% endblock %}