X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=5d70c8885948caa00430cfc452d3f483c147db85;hb=375be2b3b198b437d5d45d90493025046305985b;hp=cab1e1d3edad0856bb6888ab160e1b2c816d4b7e;hpb=10f50ecc606a84ead65526f78a9544996f8e6ccd;p=m_librarian.git diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index cab1e1d..5d70c88 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -1,5 +1,6 @@ #encoding utf-8 #import cgi +#from m_librarian.translations import translations #extends views.layout #attr $title = 'Список книг' #def body @@ -7,35 +8,49 @@ #if $books_by_author
-
- + #for $column in $columns + #if $column in ('ser_no', 'size') + #set $style = ' style="text-align: right; width: 5ex"' + #else + #set $style = '' + #end if + $cgi.escape(unicode($getattr($book, $column) or '')) + #end for + #end for #end for - - -
-
- -
+ + + +
#else

Не найдено ни одной книги!