From 0b98d2256912117c686ab66e7834f60c63040355 Mon Sep 17 00:00:00 2001 From: krmax44 Date: Tue, 15 Mar 2022 15:24:02 +0100 Subject: [PATCH] use dl for quote and description --- .../templates/froide_govplan/detail.html | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/froide_govplan/templates/froide_govplan/detail.html b/froide_govplan/templates/froide_govplan/detail.html index 42fa2b7..2ef614e 100644 --- a/froide_govplan/templates/froide_govplan/detail.html +++ b/froide_govplan/templates/froide_govplan/detail.html @@ -49,37 +49,41 @@
- {% if object.quote %} -

Ausschnitt aus dem Koalitionsvertrag

-
- {{ object.quote | addquotes | markdown }} -
- {% endif %} - {% with refs=object.get_reference_links %} - {% if refs %} -

- - {% if refs|length > 1 %} - Quellen: - {% else %} - Quelle: +

+ {% if object.quote %} +
Ausschnitt aus dem Koalitionsvertrag
+
+
+ {{ object.quote | addquotes | markdown }} +
+ {% with refs=object.get_reference_links %} + {% if refs %} +

+ + {% if refs|length > 1 %} + Quellen: + {% else %} + Quelle: + {% endif %} + + {% for ref in refs %} + + {{ forloop.counter }} + + {% endfor %} +

{% endif %} - - {% for ref in refs %} - - {{ forloop.counter }} - - {% endfor %} -

- {% endif %} - {% endwith %} + {% endwith %} + {% endif %} +
- {% if object.description %} -
-

Unsere Einschätzung

- {{ object.description | safe }} -
- {% endif %} + {% if object.description %} +
+
Unsere Einschätzung
+
{{ object.description | safe }}
+
+ {% endif %} +