X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=3fa406a1a351a92b60f3c8bb4df4f80cf09ea6f7;hb=4071573bb85eaec014efaa1da9429acd1a533645;hp=0e2424d18b70319f09214e8c58ff1c34526fa776;hpb=2d61599520048f70cdf07fceb07d0fd509d548fc;p=m_librarian.git diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 0e2424d..3fa406a 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -6,11 +6,35 @@ #def body

$title

+ + #if $books_by_author
- + #set $_ = $getattr($translations, 'ugettext', None) or $translations.gettext #for $column in $columns @@ -21,12 +45,19 @@ #set $series = None #set $snum = 0 #set $books = $books_by_author[$author] + + + + #for $book in $books #if $book.series != $series #set $series = $book.series #set $snum += 1 - +
 $cgi.escape($_($column))
$author
+ $author — #if $book.series $cgi.escape($series, 1)#slurp