X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=2db4c572c2a38dccf5c48d079a182d24d6873472;hb=bb8b5bd36c5f921ba31635bb858db3d4788ef0e9;hp=89010857aba943beb62d6a2f3ff65b904e437a99;hpb=1403f44199bde09f56e466285e00462e88e344fd;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 8901085..2db4c57 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 }} - - {% endfor %} + {{ tag.tag }}{% if not forloop.last %}, {% endif %} + {% endfor %}

{% endif %} -