X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=878c4dc13392141f0037622089a216cf974b592f;hb=98fc1560b227794a7cbf26c1b00eaec8e7e51925;hp=2b1f03c31a0881fd7cba983bbb4f8447ef65f339;hpb=471c53df73726601ffdbefc3f709ab5b6cb381ff;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 2b1f03c..878c4dc 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -1,43 +1,42 @@
-

- {{ quote.text }} -

+
+ {{ quote.text|safe }} +
-
-

- - Show details

-
-

- Hide details

+
+

+

— - - {{ quote.author.name }} - + {{ quote.work.author.name }}, + {{ quote.work.name }}

- + {% if quote.notes %} +
+ {{ quote.notes|safe }} +
+ {% endif %} + {% if not skip_work_notes %} + {% include "quotes/work_notes.html" with work=quote.work %} + {% endif %} {% if not skip_author_notes %} - {% include "quotes/author_notes.html" with author=quote.author %} + {% include "quotes/author_notes.html" with author=quote.work.author %} {% endif %} - - {% if quote.tags.all %} + {% if quote.tags.all.count %}

Tags: {% for tag in quote.tags.all %} - {{ tag.tag }}{% if not forloop.last %}, {% endif %} + {{ tag.tag }}{% if not forloop.last %}, {% endif %} {% endfor %}

{% endif %} -