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

- {{ quote.text }} -

- -

- — - {{ quote.author.name }} - -

- - {% if quote.tags.all %} -

- Tags: - {% for tag in quote.tags.all %} - {{ tag.tag }} - {% endfor %} -

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

+
+

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

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

+ {% endif %} +
+