diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-11 15:21:12 +0100 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-11 15:21:35 +0100 |
commit | 77dfb2dd619863cf2a18893aa5f3de03b7eaa006 (patch) | |
tree | d0f8f23c13371bb098ca139de12f1c69cbc174c5 /client | |
parent | create db migrations (diff) | |
download | scout-subs-77dfb2dd619863cf2a18893aa5f3de03b7eaa006.tar.gz scout-subs-77dfb2dd619863cf2a18893aa5f3de03b7eaa006.zip |
correct linebreaks written in python
Diffstat (limited to 'client')
-rw-r--r-- | client/templates/client/approve_doc_pdf.html | 2 | ||||
-rw-r--r-- | client/templates/client/doc_create.html | 6 | ||||
-rw-r--r-- | client/templates/client/doc_edit.html | 2 | ||||
-rw-r--r-- | client/templates/client/index.html | 2 |
4 files changed, 6 insertions, 6 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 @@ <br> <br> Inoltre accetto e prendo nota della seguente clausula aggiuntiva: <br> - {{doc.document_type.custom_message_text}} + {{doc.document_type.custom_message_text | linebreaksbr}} {% endif %} </p> </div> 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 @@ <div class="row"> <div class="col s12"> <div class="card {{color}}"> - <div class="card-content"> - <p style="color:white"><b> - {{custom_message_text}} + <div class="card-content" style="color:white"> + <p><b> + {{custom_message_text | linebreaksbr}} </b></p> </div> </div> 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 @@ <div class="card {{color}}"> <div class="card-content"> <p style="color:white"><b> - {{custom_message_text}} + {{custom_message_text | linebreaksbr}} </b></p> </div> </div> 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 @@ <br> <br> Inoltre accetto e prendo nota della seguente clausula aggiuntiva: <br> - {{doc.document_type.custom_message_text}} + {{doc.document_type.custom_message_text | linebreaksbr}} {% endif %} <br> <br> |