From 8092859cb4c9f692362b20eee918d57a58c70fb6 Mon Sep 17 00:00:00 2001 From: artus40 Date: Thu, 26 Oct 2017 16:47:17 +0200 Subject: [PATCH] added linebreaks filter for all notes display --- maraudes/templates/maraudes/compterendu.html | 2 +- notes/templates/notes/table_inline.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maraudes/templates/maraudes/compterendu.html b/maraudes/templates/maraudes/compterendu.html index db123ce..15228a1 100644 --- a/maraudes/templates/maraudes/compterendu.html +++ b/maraudes/templates/maraudes/compterendu.html @@ -91,7 +91,7 @@ {% bootstrap_icon "stats" %} Mise à jour - {{observation.text}}{% endfor %}{% endfor %} + {{observation.text | linebreaks }}{% endfor %}{% endfor %}
diff --git a/notes/templates/notes/table_inline.html b/notes/templates/notes/table_inline.html index be289c3..e0d9711 100644 --- a/notes/templates/notes/table_inline.html +++ b/notes/templates/notes/table_inline.html @@ -12,5 +12,5 @@ -

{{text}}

+

{{text | linebreaks }}