X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=d15cc05934294cf41908aa587bf1f5bcf6164d7f;hb=fabbe3385841576b6b9116c1db609d9c9174f8ba;hp=1369e2ce96f2ac30abb2d9388aa564f587fe66cc;hpb=af3f857eea25b939f927832741f377e4de401f9c;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 1369e2c..d15cc05 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -1,26 +1,48 @@

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

-

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

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

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

- {% endif %} +
+

+ + Show details

+
+

+ Hide details

+

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

+
+

{{ quote.notes|safe }}

+
+ {% 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 %} +

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

+ {% endif %} +
+