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

{{ author.name }}

-

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

+{% include "quotes/author_notes.html" with author=author %} -{% for quote in author.quote_set.all %} - {% include "quotes/display.html" with quote=quote %} -{% endfor %} +

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

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