X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Flist_books.tmpl;h=5d70c8885948caa00430cfc452d3f483c147db85;hb=375be2b3b198b437d5d45d90493025046305985b;hp=9566e89ff56bf8a78326420fa27a8dfc7de40a4e;hpb=fdede95cc489c5519b2e38130d66d4c01775e341;p=m_librarian.git diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 9566e89..5d70c88 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -1,37 +1,56 @@ #encoding utf-8 #import cgi +#from m_librarian.translations import translations #extends views.layout #attr $title = 'Список книг' #def body

$title

-#if $books +#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

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