X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=3fa406a1a351a92b60f3c8bb4df4f80cf09ea6f7;hb=f0d2c6daab2c1ce344becc7a0b7d7e80ce7a19cb;hp=79f29d39ccd78486e22e595aec678e558a199ccb;hpb=0a4b19cd1c2dd754d4c08aeca41cb18c22d178c2;p=m_librarian.git diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 79f29d3..3fa406a 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -15,6 +15,10 @@ function toggleBooks(selector, value) { } } +function toggleAll(value) { + toggleBooks('input[type=checkbox]', value); +} + function toggleAuthor(name, value) { toggleBooks('input[type=checkbox][name^=' + name + ']', value); } @@ -29,7 +33,8 @@ function toggleSeries(name, value) {
- + #set $_ = $getattr($translations, 'ugettext', None) or $translations.gettext #for $column in $columns
 $cgi.escape($_($column))