X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fviews%2Fbooks_by_author.tmpl;h=22009134761d65cadc70c4810cf1d63dd4351fe4;hb=961cab22b2f5da852df95ca0155dc4207acaecd9;hp=668e4453b079cf764b78c3e7e1a529b0531386b0;hpb=6498ce916a85586d62cdb37953dad0345d21f7e5;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 668e445..2200913 100644 --- a/m_librarian/web/views/books_by_author.tmpl +++ b/m_librarian/web/views/books_by_author.tmpl @@ -1,32 +1,52 @@ #encoding utf-8 #import cgi +#from m_librarian.translations import translations #extends views.layout #attr $title = 'Список книг автора' #def body

$title $author.fullname

#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

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