X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fauthor.html;h=755428644065a441293df000d404ba88d46039c4;hb=809334de67823bbda3f1c95ccbb719bf7eb825e4;hp=60dbafa577c45b4cf83ff3ef9354d096b745b5ff;hpb=1403f44199bde09f56e466285e00462e88e344fd;p=djsite.git diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html index 60dbafa..7554286 100644 --- a/quotes/templates/quotes/author.html +++ b/quotes/templates/quotes/author.html @@ -8,10 +8,12 @@ {% include "quotes/author_notes.html" with author=author %} -

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

+

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

-{% for quote in author.quote_set.all %} - {% include "quotes/display.html" with quote=quote skip_author_notes=True %} +{% 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 %}