Fix mise en page catégories
This commit is contained in:
parent
427272fde1
commit
8d90efaa2b
@ -2,8 +2,9 @@
|
|||||||
{% load tag_extra %}
|
{% load tag_extra %}
|
||||||
{% load utils_extra %}
|
{% load utils_extra %}
|
||||||
|
|
||||||
|
{% if not noarticle %}
|
||||||
<article id="filters">
|
<article id="filters">
|
||||||
|
{% endif %}
|
||||||
<div>
|
<div>
|
||||||
<div class="categories">
|
<div class="categories">
|
||||||
{% show_legend filter=filter %}
|
{% show_legend filter=filter %}
|
||||||
@ -43,4 +44,6 @@
|
|||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if not noarticle %}
|
||||||
</article>
|
</article>
|
||||||
|
{% endif %}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
|
{% 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 %}
|
{% cache cache_timeout upcoming user.is_authenticated calendar.firstdate filter.to_str calendar.calendar_days_list|length LANGUAGE_CODE %}
|
||||||
|
|
||||||
<article>
|
<article id="filters">
|
||||||
<header><h1 id="index-avenir">{% block title %}{% block og_title %}
|
<header><h1 id="index-avenir">{% block title %}{% block og_title %}
|
||||||
{% if calendar.calendar_days_list.0.is_today %}
|
{% if calendar.calendar_days_list.0.is_today %}
|
||||||
Événements à venir
|
Événements à venir
|
||||||
@ -38,7 +38,7 @@
|
|||||||
{% endblock %}{% endblock %}</h1></header>
|
{% endblock %}{% endblock %}</h1></header>
|
||||||
|
|
||||||
|
|
||||||
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
|
{% include "agenda_culturel/filter-inc.html" with filter=filter noarticle=1 %}
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<a href="{% if calendar.calendar_days_list|length == 1 %}{% url 'day_view' date_pred.year date_pred.month date_pred.day %}{% else %}{% url 'a_venir_jour' date_pred.year date_pred.month date_pred.day %}{% endif %}" aria-label="dates précédentes" role="button">
|
<a href="{% if calendar.calendar_days_list|length == 1 %}{% url 'day_view' date_pred.year date_pred.month date_pred.day %}{% else %}{% url 'a_venir_jour' date_pred.year date_pred.month date_pred.day %}{% endif %}" aria-label="dates précédentes" role="button">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user