#encoding utf-8
#from m_librarian.translations import translations
#extends views.layout
#attr $title = 'Список авторов'
#def body
Поиск авторов
#from views.search_authors_form import search_authors_form
$search_authors_form(searchList=$searchList)
$title
#if $authors
#filter WebSafe
#set $_ = $getattr($translations, 'ugettext', None) or $translations.gettext
#for $column in $columns
$_($column) |
#end for
#for $author in $authors
#for $column in $columns
#if $column == 'count'
#set $style = ' style="text-align: right; width: 5ex"'
#else
#set $style = ''
#end if
$unicode($getattr($author, $column) or '')
|
#end for
#end for
#end filter WebSafe
#else
Не найдено ни одного автора!
#end if
#end def