diff --git a/src/agenda_culturel/templates/agenda_culturel/place_list.html b/src/agenda_culturel/templates/agenda_culturel/place_list.html index c28d1f1..bcbdea7 100644 --- a/src/agenda_culturel/templates/agenda_culturel/place_list.html +++ b/src/agenda_culturel/templates/agenda_culturel/place_list.html @@ -2,6 +2,8 @@ {% block title %}{% block og_title %}Lieux{% endblock %}{% endblock %} +{% load cache %} +{% load i18n %} {% load utils_extra %} {% load static %} {% load cat_extra %} @@ -31,6 +33,9 @@
+ {% get_current_language as LANGUAGE_CODE %} + {% cache 500 place_lists user.is_authenticated %} + {% if object_list %} {% for place in object_list %}

{{ place.name }}{% picto_from_name "map" %}

@@ -47,6 +52,7 @@ {% else %}

Il n'y a aucun lieu défini.

{% endif %} + {% endcache %}