From d16c58610e93d7b00f864bf3e6b3f72ec62558eb Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Thu, 8 Apr 2021 10:06:01 +0200 Subject: [PATCH] bugfix: " -> " in mails for laptop field --- TODO | 3 --- evapp/templates/evapp/dataloop.txt | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 57b7fb1..e69de29 100644 --- a/TODO +++ b/TODO @@ -1,3 +0,0 @@ -known bugs: - -html problem in mails: 14" -> 14" diff --git a/evapp/templates/evapp/dataloop.txt b/evapp/templates/evapp/dataloop.txt index c1593b3..a0b1b94 100644 --- a/evapp/templates/evapp/dataloop.txt +++ b/evapp/templates/evapp/dataloop.txt @@ -1,5 +1,9 @@ {% autoescape off %} {% for key, value in data.items %} + {% if key == 'laptop' %} + {{ key }}: {{ value | safe}} + {% else %} {{ key }}: {{ value }} + {% endif %} {% endfor %} {% endautoescape %}