Fix a bug in the week link
This commit is contained in:
parent
592c74158f
commit
1f78b636fd
@ -46,7 +46,7 @@
|
|||||||
{% for d in calendar.calendar_days_list %}
|
{% for d in calendar.calendar_days_list %}
|
||||||
{% if forloop.counter0|divisibleby:7 %}
|
{% if forloop.counter0|divisibleby:7 %}
|
||||||
{% if not forloop.first %}</div><div class="grid week-in-month">{% endif %}
|
{% if not forloop.first %}</div><div class="grid week-in-month">{% endif %}
|
||||||
<div class="entete-semaine"><h2><a href="{% url 'week_view' calendar.month d.week %}?{{ filter.get_url }}">Semaine {{ d.week }}</a></h2></div>
|
<div class="entete-semaine"><h2><a href="{% url 'week_view' calendar.year d.week %}?{{ filter.get_url }}">Semaine {{ d.week }}</a></h2></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "agenda_culturel/day-inc.html" with day=d resume=1 fixed_style=calendar.all_in_past filter=filter headers="h3" %}
|
{% include "agenda_culturel/day-inc.html" with day=d resume=1 fixed_style=calendar.all_in_past filter=filter headers="h3" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user