On utilise une donnée présente pour gagner du temps
This commit is contained in:
parent
30bc5f49e8
commit
2637132a28
@ -16,7 +16,7 @@
|
||||
<script src="{% static 'js/calendar-buttons.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}{% block og_title %}Semaine du {{ calendar.calendar_days_list.0.date|date|frdate }}{% endblock %}{% endblock %}
|
||||
{% block title %}{% block og_title %}Semaine du {{ calendar.firstdate|date|frdate }}{% endblock %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
{% if calendar.today_in_calendar %}
|
||||
Cette semaine
|
||||
{% else %}
|
||||
semaine du {{ calendar.calendar_days_list.0.date |date:"j F"|frdate }}
|
||||
semaine du {{ calendar.firstdate.date |date:"j F"|frdate }}
|
||||
{% endif %}</h1></div>
|
||||
<div class="navigation">
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user