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

- {{ quote.text }} -

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

- - Show details

-
-

- Hide details

+
+

+

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

- - {% if quote.tags.all %} + {% 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.work.author %} + {% endif %} + {% if quote.tags.all.count %}

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

{% endif %} -