X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fdisplay.html;h=2db4c572c2a38dccf5c48d079a182d24d6873472;hb=bb8b5bd36c5f921ba31635bb858db3d4788ef0e9;hp=108dc92ba6a3662d01f02c57530d97be5898e971;hpb=979f7e231fdda726b78bb00914d4a5e22a1d81b7;p=djsite.git diff --git a/quotes/templates/quotes/display.html b/quotes/templates/quotes/display.html index 108dc92..2db4c57 100644 --- a/quotes/templates/quotes/display.html +++ b/quotes/templates/quotes/display.html @@ -1,20 +1,42 @@
-

- {{ quote.text }} -

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

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

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

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

- Tags: - {% for tag in quote.tags.all %} - {{ tag.tag }} - {% endfor %} -

- {% endif %}