Amélioration page journée

This commit is contained in:
Jean-Marie Favreau 2024-09-21 13:00:14 +02:00
parent 7341c01e6e
commit a29c9ae6af

View File

@ -17,7 +17,7 @@
{% endblock %} {% endblock %}
{% block title %}{% block og_title %} {% block title %}{% block og_title %}
{{ day | date:"l j F Y"|frdate }} {{ day | date:"l j F"|frdate }}
{% endblock %}{% endblock %} {% endblock %}{% endblock %}
@ -33,7 +33,7 @@
<article> <article>
<header> <header>
<div class="title"><h1>{{ day | date:"l j F Y"|frdate }}</h1></div> <div class="title"><h1>{{ day | date:"l j F"|frdate }}</h1></div>
<div class="navigation"> <div class="navigation">
{% if day|shift_day:-1|not_before_first %} {% if day|shift_day:-1|not_before_first %}
{% if day|not_after_last %} {% if day|not_after_last %}
@ -65,7 +65,7 @@
<aside> <aside>
<article> <article>
<header> <header>
<h2 id="index-day">En résumé</h2> <h2 id="index-day">{{ events|length }} événement{{ events|length|pluralize }} </h2>
{% if events|length == 0 %} {% if events|length == 0 %}
<p class="remarque">Il n'y a pas d'événement le {{ day }}</p> <p class="remarque">Il n'y a pas d'événement le {{ day }}</p>
{% else %} {% else %}