Bladeren bron

fixed email template

Juan Carlos 4 jaren geleden
bovenliggende
commit
bfe1bea7e8
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. BIN
      marktplatz/.DS_Store
  2. 3 3
      project_base/apps.py

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>