Explorar o código

fixed email template

Juan Carlos %!s(int64=4) %!d(string=hai) anos
pai
achega
bfe1bea7e8
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. BIN=BIN
      marktplatz/.DS_Store
  2. 3 3
      project_base/apps.py

BIN=BIN
marktplatz/.DS_Store


+ 3 - 3
project_base/apps.py

@@ -58,13 +58,13 @@ content_html = """
     <p>Freie Plätze!</p>
 {% if product.beschreibung %}
 <h3>Beschreibung</h3>
-    <p>{{ product.beschreibung }}</p>
+    <div>{{ product.beschreibung | safe }}</div>
 {% endif %} {% if product.claim %}
 <h3>Claim</h3>
-    <p>{{ product.claim }}</p>
+    <div>{{ product.claim | safe }}</div>
 {% endif %} {% if product.learning %}
 <h3>Learning</h3>
-    <p>{{ product.learning }}</p>
+    <div>{{ product.learning  | safe  }}</div>
 {% endif %} {% if product.status %}
 <h3>Status</h3>
     <p>{{ product.status }}</p>