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

- {{ quote.text }} -

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

@@ -14,30 +14,28 @@ 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 %}

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