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

- {{ quote.text }} -

- -

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

+
+ {{ quote.text|safe }} +
- {% 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 }} + +

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

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

+ {% endif %} +
+