From fd9afa14e9ff72b31f378799ff6bcb0b3e00dc39 Mon Sep 17 00:00:00 2001
From: Jean-Marie Favreau
Date: Sat, 11 Nov 2023 19:38:52 +0100
Subject: [PATCH] on ajoute des sauts de ligne (suivant formatage initial)
---
.../agenda_culturel/single-event/event-in-list-by-day-inc.html | 2 +-
.../agenda_culturel/single-event/event-in-list-inc.html | 2 +-
.../templates/agenda_culturel/single-event/event-modal-inc.html | 2 +-
.../agenda_culturel/single-event/event-single-inc.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html
index 4ac47d3..2a8b780 100644
--- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html
+++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html
@@ -41,7 +41,7 @@
{% endif %}
- {{ event.description |truncatewords:20 }}
+ {{ event.description |truncatewords:20 |linebreaks }}
- {{ event.description |truncatewords:20 }}
+ {{ event.description |truncatewords:20 |linebreaks }}
diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html
index af40b03..eb55d01 100644
--- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html
+++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-single-inc.html
@@ -25,7 +25,7 @@
{% endif %}
-
{{ event.description }}
+ {{ event.description |linebreaks }}