X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=1c0ebde069398278595caca300bf5e41732440b3;hb=23a7477871ae2a50bb08fb6a6accd8f87f829426;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..1c0ebde 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 == 'ser_no' + #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

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