X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=fcf5906dc5ec720ac4909ce7310143ac90422f93;hb=13c2e4fc8a5506cfa074c06335a73d28a173aba9;hp=7873c81aadf98e6ef18e95f8f9652ca6797d2522;hpb=a9afd9f8e0f00de00d27fc7569c0d0b8f22f4302;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 7873c81..fcf5906 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -3,21 +3,49 @@ {{ quote.text }}

-

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

+
+

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

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

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

+ {% endif %} +
+