{% picto_from_name "arrow-left" %}
{% 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 %}
{% 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 %}
{% picto_from_name "arrow-right" %}
{% cache 90000 footer_month user.is_authenticated calendar.firstdate category filter.get_url %}