{% 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 this_month category filter.get_url %} {% navigation_links filter category calendar "month" %} {% endcache %} {% endblock %} {% block when_parameters %}{{ filter.get_url }}{% endblock %} {% block content %} {% with cache_timeout=user.is_authenticated|yesno:"30,6000" %} {% cache cache_timeout month user.is_authenticated calendar.firstdate this_month category filter.get_url %} {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 %}
{% 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 %}
{% if day.is_school_vacation or day.has_special_period_same_week %}
{% for p in day.periods %} {% if p.periodtype == "school vacations" %}{{ p.name }}{% endif %} {% endfor %}
{% endif %}

{% if day.date.day == 1 and this_month or day.date == calendar.firstdate and this_month %} {{ day.date | date:"l j F" }} {% else %} {{ day.date | date:"l j" }} {% endif %}

{% if day.is_public_holiday %}
{% for p in day.periods %} {% if p.periodtype == "public holidays" %}{{ p.name }}{% endif %} {% endfor %}
{% endif %}
{% if day.events %} {% endif %}
{% endwith %} {% endwith %} {% endfor %}
{% cache 90000 footer_month user.is_authenticated calendar.firstdate category filter.get_url %} {% endcache %}
{% endcache %} {% endwith %} {% endblock %}