diff --git a/src/agenda_culturel/templates/agenda_culturel/page-month.html b/src/agenda_culturel/templates/agenda_culturel/page-month.html index 3a3e938..2ee916d 100644 --- a/src/agenda_culturel/templates/agenda_culturel/page-month.html +++ b/src/agenda_culturel/templates/agenda_culturel/page-month.html @@ -27,12 +27,11 @@ {% block content %} - - {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=0 %} - {% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% 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 %}

diff --git a/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html b/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html index a667b40..e1c5686 100644 --- a/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html +++ b/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html @@ -40,11 +40,9 @@ {% endblock %}{% endblock %}
{% endcache %} - - {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=1 %} - {% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout upcoming user.is_authenticated calendar.firstdate filter.get_url category calendar.nb_days %} + {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=1 %}