]> git.phdru.name Git - m_librarian.git/commitdiff
Fix(web): Fix author name
authorOleg Broytman <phd@phdru.name>
Sat, 7 Apr 2018 23:04:37 +0000 (02:04 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 7 Apr 2018 23:04:37 +0000 (02:04 +0300)
m_librarian/web/views/books_by_author.py
m_librarian/web/views/books_by_author.tmpl

index ec269e57f30669d4c9425c9aa954f4463cab7102..ebb1cc6fd969a8a626ccbd381fae43a012a3fed2 100644 (file)
@@ -35,10 +35,10 @@ VFN=valueForName
 currentTime=time.time
 __CHEETAH_version__ = '3.1.0'
 __CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1)
-__CHEETAH_genTime__ = 1523141375.719046
-__CHEETAH_genTimestamp__ = 'Sun Apr  8 01:49:35 2018'
+__CHEETAH_genTime__ = 1523142213.339173
+__CHEETAH_genTimestamp__ = 'Sun Apr  8 02:03:33 2018'
 __CHEETAH_src__ = 'books_by_author.tmpl'
-__CHEETAH_srcLastModified__ = 'Sun Apr  8 01:49:05 2018'
+__CHEETAH_srcLastModified__ = 'Sun Apr  8 02:03:31 2018'
 __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -89,6 +89,9 @@ class books_by_author(layout):
         write(u'''<h1>''')
         _v = VFFSL(SL,"title",True) # u'$title' on line 5, col 5
         if _v is not None: write(_filter(_v, rawExpr=u'$title')) # from line 5, col 5.
+        write(u''' ''')
+        _v = VFFSL(SL,"author.fullname",True) # u'$author.fullname' on line 5, col 12
+        if _v is not None: write(_filter(_v, rawExpr=u'$author.fullname')) # from line 5, col 12.
         write(u'''</h1>
 
 ''')
@@ -181,7 +184,7 @@ class books_by_author(layout):
 
     _CHEETAH_srcLastModified = __CHEETAH_srcLastModified__
 
-    title = 'Список книг автора $author.fullname'
+    title = 'Список книг автора'
 
     _mainCheetahMethod_for_books_by_author = 'writeBody'
 
index b8e7c588aa5132717cd98ac31d6b7fa28aa82051..240771d55d39d7a4ae04d35c54edee06488ed781 100644 (file)
@@ -1,8 +1,8 @@
 #encoding utf-8
 #extends views.layout
-#attr $title = 'Список книг автора $author.fullname'
+#attr $title = 'Список книг автора'
 #def body
-<h1>$title</h1>
+<h1>$title $author.fullname</h1>
 
 #if $books
   <table>