Ajout Agenda.statut (pour remplacer prive)

This commit is contained in:
Claude Paroz 2025-11-28 20:24:25 +01:00
parent c81a8377fd
commit af925e22fd
5 changed files with 39 additions and 5 deletions

View file

@ -6,7 +6,7 @@
<h2 class="mb-5">Agenda des prochaines prestations de la chorale</h2>
{% for item in object_list %}
<div class="border-bottom border-danger mt-3{% if item.prive %} prive{% endif %}">
<div class="border-bottom border-danger mt-3 {{ item.statut }}">
<div class="row">
<div class="col col-12 col-sm-4 col-lg-2 text-black rounded align-self-center text-center fw-bold pt-2 pb-2 date_agenda">
{{ item.date_heure|date:'D d F à H:i' }}