X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fauthor.html;h=755428644065a441293df000d404ba88d46039c4;hb=809334de67823bbda3f1c95ccbb719bf7eb825e4;hp=1fa09c8731519c99ac39f18a9322940354f7de85;hpb=979f7e231fdda726b78bb00914d4a5e22a1d81b7;p=djsite.git diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html index 1fa09c8..7554286 100644 --- a/quotes/templates/quotes/author.html +++ b/quotes/templates/quotes/author.html @@ -1,15 +1,19 @@ {% extends 'quotes/base.html' %} -{% block body %} +{% block title %}Quotes for {{ author.name }}{% endblock %} +{% 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 %}