parent
a515d26475
commit
f2f35e8fc6
@ -24,7 +24,8 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% cache 500 day user.is_authenticated day filter.to_str LANGUAGE_CODE %}
|
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
||||||
|
{% cache cache_timeout day user.is_authenticated day filter.to_str LANGUAGE_CODE %}
|
||||||
|
|
||||||
|
|
||||||
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
||||||
@ -105,5 +106,6 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endcache %}
|
{% endcache %}
|
||||||
|
{% endwith %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -24,7 +24,8 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% cache 500 month user.is_authenticated calendar.firstdate filter.to_str LANGUAGE_CODE %}
|
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
||||||
|
{% cache cache_timeout month user.is_authenticated calendar.firstdate filter.to_str LANGUAGE_CODE %}
|
||||||
|
|
||||||
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
||||||
|
|
||||||
@ -71,6 +72,7 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{% endcache %}
|
{% endcache %}
|
||||||
|
{% endwith %}
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -21,7 +21,8 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% cache 500 week user.is_authenticated calendar.firstdate filter.to_str LANGUAGE_CODE %}
|
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
||||||
|
{% cache cache_timeout week user.is_authenticated calendar.firstdate filter.to_str LANGUAGE_CODE %}
|
||||||
|
|
||||||
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
||||||
|
|
||||||
@ -67,5 +68,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{% endcache %}
|
{% endcache %}
|
||||||
|
{% endwith %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -64,7 +64,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% cache 500 place_list user.is_authenticated object %}
|
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
||||||
|
{% cache cache_timeout place_list user.is_authenticated object %}
|
||||||
|
|
||||||
{% if object_list %}
|
{% if object_list %}
|
||||||
<h2>Événements du lieu</h2>
|
<h2>Événements du lieu</h2>
|
||||||
@ -81,6 +82,7 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcache %}
|
{% endcache %}
|
||||||
|
{% endwith %}
|
||||||
<footer>
|
<footer>
|
||||||
<!--p>Voir tous les événements de ce lieu</p-->
|
<!--p>Voir tous les événements de ce lieu</p-->
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
@ -34,7 +34,8 @@
|
|||||||
|
|
||||||
<div class="vertical-max">
|
<div class="vertical-max">
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
{% cache 500 place_lists user.is_authenticated %}
|
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
||||||
|
{% cache cache_timeout place_lists user.is_authenticated %}
|
||||||
|
|
||||||
{% if object_list %}
|
{% if object_list %}
|
||||||
{% for place in object_list %}
|
{% for place in object_list %}
|
||||||
@ -53,6 +54,7 @@
|
|||||||
<p>Il n'y a aucun lieu défini.</p>
|
<p>Il n'y a aucun lieu défini.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcache %}
|
{% endcache %}
|
||||||
|
{% endwith %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user