{% with view.get_events as events %}
{% if events %}
{% for event in events %}
{% include 'chrono/manager_agenda_event_fragment.html' with settings_view=True %}
{% endfor %}
{% 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 %}
{% endwith %}
{% trans "Notifications" %}
{% for notification_type in object.notifications_settings.get_notification_types %}
{% with display_value=notification_type.display_value label=notification_type.label %}
{% if display_value %}
{% blocktrans %}{{ label }}: {{ display_value }} will be notified.{% endblocktrans %}
{% endif %}
{% endwith %}
{% empty %}
{% trans "Notifications are disabled for this agenda." %}
{% endfor %}