X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Fbooks_by_author.tmpl;h=22009134761d65cadc70c4810cf1d63dd4351fe4;hb=961cab22b2f5da852df95ca0155dc4207acaecd9;hp=bdd694ea6d162c3a48434edb4700a3cf01fde3e6;hpb=4769d45b4b0f30206b7193c47e556807b771f1e8;p=m_librarian.git diff --git a/m_librarian/web/views/books_by_author.tmpl b/m_librarian/web/views/books_by_author.tmpl index bdd694e..2200913 100644 --- a/m_librarian/web/views/books_by_author.tmpl +++ b/m_librarian/web/views/books_by_author.tmpl @@ -1,5 +1,6 @@ #encoding utf-8 #import cgi +#from m_librarian.translations import translations #extends views.layout #attr $title = 'Список книг автора' #def body @@ -7,31 +8,45 @@ #if $books
-
- + #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 - - -
-
- -
+ + + +
#else

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