From 77dfb2dd619863cf2a18893aa5f3de03b7eaa006 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 11 Jan 2022 15:21:12 +0100 Subject: correct linebreaks written in python --- client/templates/client/approve_doc_pdf.html | 2 +- client/templates/client/doc_create.html | 6 +++--- client/templates/client/doc_edit.html | 2 +- client/templates/client/index.html | 2 +- server/templates/server/doc_type.html | 2 +- version.txt | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/templates/client/approve_doc_pdf.html b/client/templates/client/approve_doc_pdf.html index 3ed4d86..ae993f0 100644 --- a/client/templates/client/approve_doc_pdf.html +++ b/client/templates/client/approve_doc_pdf.html @@ -29,7 +29,7 @@

Inoltre accetto e prendo nota della seguente clausula aggiuntiva:
- {{doc.document_type.custom_message_text}} + {{doc.document_type.custom_message_text | linebreaksbr}} {% endif %}

diff --git a/client/templates/client/doc_create.html b/client/templates/client/doc_create.html index ce5f39d..c1db432 100644 --- a/client/templates/client/doc_create.html +++ b/client/templates/client/doc_create.html @@ -98,9 +98,9 @@
-
-

- {{custom_message_text}} +

+

+ {{custom_message_text | linebreaksbr}}

diff --git a/client/templates/client/doc_edit.html b/client/templates/client/doc_edit.html index a9cc056..3af3584 100644 --- a/client/templates/client/doc_edit.html +++ b/client/templates/client/doc_edit.html @@ -56,7 +56,7 @@

- {{custom_message_text}} + {{custom_message_text | linebreaksbr}}

diff --git a/client/templates/client/index.html b/client/templates/client/index.html index e31ce34..1885dd1 100644 --- a/client/templates/client/index.html +++ b/client/templates/client/index.html @@ -76,7 +76,7 @@

Inoltre accetto e prendo nota della seguente clausula aggiuntiva:
- {{doc.document_type.custom_message_text}} + {{doc.document_type.custom_message_text | linebreaksbr}} {% endif %}

diff --git a/server/templates/server/doc_type.html b/server/templates/server/doc_type.html index 8b2131d..4f8fe6f 100644 --- a/server/templates/server/doc_type.html +++ b/server/templates/server/doc_type.html @@ -213,7 +213,7 @@ messageMessaggio aggiuntivo
- {{doctype.custom_message_text}} + {{doctype.custom_message_text | linebreaksbr}}
{% endif %} diff --git a/version.txt b/version.txt index 02b14dc..a897277 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.4 -rev=25 +rev=26 -- cgit v1.2.1