{% extends "agenda_culturel/page.html" %} {% block title %} {% block og_title %}{{ object.name }}{% endblock %} {% endblock %} {% load tag_extra %} {% load utils_extra %} {% load cat_extra %} {% load static %} {% load cache %} {% load l10n %} {% block entete_header %} {% css_categories %} {% endblock %} {% block fluid %}{% endblock %} {% block body-class %}organisation{% endblock %} {% block content %}
{% picto_from_name "chevron-left" %} Toutes les organisations {% if perms.agenda_culturel.change_organisation %} {% endif %}

{{ object.name }}

{% if object.website or object.principal_place %} {% endif %} {% if user.is_authenticated %} {% if object.recurrentimport_set.all|length == 1 %}

Cette organisation est associée à l'import récurrent {{ object.recurrentimport_set.all.0 }}.

{% endif %} {% if object.recurrentimport_set.count > 1 %}

Cette organisation est associée aux imports récurrents :

{% endif %} {% endif %} {{ object.description|safe }}
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout organisation_list user.is_authenticated object.pk page_obj.number past %}
S'abonner à l'agenda {% picto_from_name "calendar" %} {% if past %} Voir les événements à venir {% else %} Voir les événements passés {% endif %}
{% if past %}

Événements passés

{% else %}

Événements à venir

{% endif %} {% if object_list %} {% include "agenda_culturel/navigation.html" with page_obj=page_obj %} {% for event in object_list %} {% include "agenda_culturel/single-event/event-elegant-inc.html" with event=event day=0 no_location=1 %} {% endfor %} {% include "agenda_culturel/navigation.html" with page_obj=page_obj %} {% else %}

Aucun événement

{% endif %} {% endcache %} {% endwith %}
{% endblock %}