diff --git a/src/agenda_culturel/templates/agenda_culturel/filter-inc.html b/src/agenda_culturel/templates/agenda_culturel/filter-inc.html index dca639e..2fd8837 100644 --- a/src/agenda_culturel/templates/agenda_culturel/filter-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/filter-inc.html @@ -2,8 +2,9 @@ {% load tag_extra %} {% load utils_extra %} - +{% if not noarticle %}
+{% endif %}
{% show_legend filter=filter %} @@ -43,4 +44,6 @@
+{% if not noarticle %}
+{% endif %} diff --git a/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html b/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html index 0fd188c..3d3b098 100644 --- a/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html +++ b/src/agenda_culturel/templates/agenda_culturel/page-upcoming.html @@ -25,7 +25,7 @@ {% with cache_timeout=user.is_authenticated|yesno:"30,600" %} {% cache cache_timeout upcoming user.is_authenticated calendar.firstdate filter.to_str calendar.calendar_days_list|length LANGUAGE_CODE %} -
+

{% block title %}{% block og_title %} {% if calendar.calendar_days_list.0.is_today %} Événements à venir @@ -38,7 +38,7 @@ {% endblock %}{% endblock %}

- {% include "agenda_culturel/filter-inc.html" with filter=filter %} + {% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=1 %}