Suppression des parties "today" restantes
This commit is contained in:
parent
7ec0272453
commit
822191af8f
@ -31,11 +31,11 @@
|
||||
<div class="title"><h1>{{ calendar.firstdate | date:"F o" }}</h1></div>
|
||||
<div class="navigation">
|
||||
<div>
|
||||
<a role="button" href="{% url 'month_view' calendar.previous_month.year calendar.previous_month.month %}?{{ filter.get_url }}#today">
|
||||
<a role="button" href="{% url 'month_view' calendar.previous_month.year calendar.previous_month.month %}?{{ filter.get_url }}">
|
||||
{% picto_from_name "chevron-left" %} précédent</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a role="button" href="{% url 'month_view' calendar.next_month.year calendar.next_month.month %}?{{ filter.get_url }}#today">suivant
|
||||
<a role="button" href="{% url 'month_view' calendar.next_month.year calendar.next_month.month %}?{{ filter.get_url }}">suivant
|
||||
{% picto_from_name "chevron-right" %}
|
||||
</a>
|
||||
</div>
|
||||
@ -46,7 +46,7 @@
|
||||
{% for d in calendar.calendar_days_list %}
|
||||
{% if forloop.counter0|divisibleby:7 %}
|
||||
{% if not forloop.first %}</div><div class="grid week-in-month">{% endif %}
|
||||
<div id="week-{{ d.date.isocalendar.1 }}" class="entete-semaine"><h2><a href="{% url 'week_view' calendar.year d.week %}?{{ filter.get_url }}#today">Semaine {{ d.week }}</a></h2></div>
|
||||
<div id="week-{{ d.date.isocalendar.1 }}" class="entete-semaine"><h2><a href="{% url 'week_view' calendar.year d.week %}?{{ filter.get_url }}">Semaine {{ d.week }}</a></h2></div>
|
||||
{% endif %}
|
||||
{% include "agenda_culturel/day-inc.html" with day=d resume=1 fixed_style=calendar.all_in_past filter=filter headers="h3" %}
|
||||
{% endfor %}
|
||||
@ -60,7 +60,7 @@
|
||||
<footer>
|
||||
{% if calendar.today_in_calendar %}
|
||||
<a role="button" href="{% url 'aujourdhui' %}?{{ filter.get_url }}">Aujourd'hui</a>
|
||||
<a role="button" href="{% url 'cette_semaine' %}?{{ filter.get_url }}#today">Cette semaine</a>
|
||||
<a role="button" href="{% url 'cette_semaine' %}?{{ filter.get_url }}">Cette semaine</a>
|
||||
{% endif %}
|
||||
</footer>
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user