{% extends "agenda_culturel/page.html" %} {% load cat_extra %} {% load event_extra %} {% load utils_extra %} {% load static %} {% load cache %} {% block entete_header %} {% css_categories %} {% endblock %} {% block title %}{% block og_title %} {% if category %}{{ category.name }} en{% endif %} {{ calendar.firstdate | date:"F o" }} {% endblock %}{% endblock %} {% block navigation-menu %} {% cache 90000 navigation_links_month user.is_authenticated calendar.firstdate category filter.get_url %} {% navigation_links filter category %} {% endcache %} {% endblock %} {% block content %} {% with cache_timeout=user.is_authenticated|yesno:"30,6000" %} {% cache cache_timeout month user.is_authenticated calendar.firstdate category filter.get_url %} {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 %}

{% if category %}{{ category.name }} en {% endif %}{{ calendar.firstdate | date:"F o" }}{% if filter.has_location %} à {{ filter.get_position }}{% endif %}

{% if calendar.firstdate|shift_day:-1|not_before_first %} {% if calendar.lastdate|not_after_last %} {% if category %} {% else %} {% endif %} {% endif %} {% endif %}
{% for day in calendar.calendar_days_list %} {% if forloop.counter0|divisibleby:7 %} {% if not forloop.first %}
{% endif %} {% if category %} {% else %} {% endif %} {% endif %} {% with day.date|date:"Y-m-d" as daytag %} {% with "date-"|add:daytag as daytag %}
{% if day.is_today %} {% endif %}

{{ day.date | date:"l j" }} {% if day.events %} {% endif %}

{% endwith %} {% endwith %} {% endfor %}
{% if calendar.lastdate|shift_day:+1|not_after_last %} {% if calendar.lastdate|not_before_first %} {% if category %} {% else %} {% endif %} {% endif %} {% endif %}
{% cache 90000 footer_month user.is_authenticated calendar.firstdate category filter.get_url %} {% endcache %}
{% endcache %} {% endwith %} {% endblock %}