{% extends "agenda_culturel/page.html" %} {% load i18n %} {% load cache %} {% load cat_extra %} {% load event_extra %} {% load utils_extra %} {% load static %} {% load i18n %} {% block entete_header %} {% css_categories %} {% endblock %} {% block title %}{% block og_title %}Semaine du {{ calendar.firstdate|date|frdate }}{% endblock %}{% endblock %} {% block ce_mois_ci_parameters %}{% block cette_semaine_parameters %}{% block a_venir_parameters %}?{{ filter.get_url }}{% endblock %}{% endblock %}{% endblock %} {% block content %} {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 %} {% get_current_language as LANGUAGE_CODE %} {% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout week user.is_authenticated calendar.firstdate filter.get_url LANGUAGE_CODE %}

{% if calendar.today_in_calendar %} Cette semaine {% else %} semaine du {{ calendar.firstdate |date:"j F"|frdate }} {% endif %}

{% if calendar.firstdate|shift_day:-1|not_before_first %} {% if calendar.lastdate|not_after_last %} {% endif %} {% endif %}
{% for d in calendar.calendar_days_list %} {% include "agenda_culturel/day-inc.html" with day=d resume=0 fixed_style=calendar.all_in_past filter=filter headers="" %} {% endfor %}
{% if calendar.lastdate|shift_day:+1|not_after_last %} {% if calendar.lastdate|not_before_first %} {% endif %} {% endif %}
{% endcache %} {% endwith %} {% endblock %}