X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fauthor.html;h=be5476e17b448194a922b1d0ffdde0aed06af73d;hb=13c2e4fc8a5506cfa074c06335a73d28a173aba9;hp=c3377ceeb3d7fdcb7d3b150e83c2cefbd7ef197e;hpb=80b8a3d5a952846e12ef15d441c8ae7c529666cc;p=djsite.git diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html index c3377ce..be5476e 100644 --- a/quotes/templates/quotes/author.html +++ b/quotes/templates/quotes/author.html @@ -4,14 +4,16 @@ {% block body %} -

{{ author.name }}

+{% include "quotes/author_notes.html" with author=author %} +

All the quotes for {{ author.name }}:

-{% for quote in author.quote_set.all %} - {% include "quotes/display.html" with quote=quote %} +{% for work in author.work_set.all %} + {% for quote in work.quote_set.all %} + {% include "quotes/display.html" with quote=quote skip_author_notes=True %} + {% endfor %} {% endfor %} - {% endblock %}