X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=2db4c572c2a38dccf5c48d079a182d24d6873472;hb=bb8b5bd36c5f921ba31635bb858db3d4788ef0e9;hp=696f7549eaef1954871d7eca32cffe39b496b63d;hpb=242b0beb0eff7c97205b0bbe3747118b70ff1ee9;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 696f754..2db4c57 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -1,48 +1,42 @@
-

+

{{ quote.text|safe }} -

+
-
-

- - Show details

-
-

- Hide details

+
+

+

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

-
-

{{ quote.notes|safe }}

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

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

{% endif %} -