X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fauthor.html;h=755428644065a441293df000d404ba88d46039c4;hb=809334de67823bbda3f1c95ccbb719bf7eb825e4;hp=b09befc1d7f8797fa80d729d4007992c93c1db87;hpb=0b5eb1c3de4b96a048f784ab7c210462f26ac8da;p=djsite.git diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html index b09befc..7554286 100644 --- a/quotes/templates/quotes/author.html +++ b/quotes/templates/quotes/author.html @@ -8,11 +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 %} +{% 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 %}