X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=3fa406a1a351a92b60f3c8bb4df4f80cf09ea6f7;hb=f0d2c6daab2c1ce344becc7a0b7d7e80ce7a19cb;hp=72193218bfd4717ff48f84749da75104547d08fc;hpb=5b3f3a1eb1b0f432e952e26f2c7a721e58ddb2e0;p=m_librarian.git diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 7219321..3fa406a 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -8,13 +8,24 @@ @@ -22,7 +33,8 @@ function toggleBooks(name, value) {
- + #set $_ = $getattr($translations, 'ugettext', None) or $translations.gettext #for $column in $columns @@ -33,13 +45,18 @@ function toggleBooks(name, value) { #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 + onClick="toggleSeries(this.name, this.checked)">
 $cgi.escape($_($column))
$author
$author — #if $book.series