From 961cab22b2f5da852df95ca0155dc4207acaecd9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 12 Jun 2018 01:22:41 +0300 Subject: [PATCH] =?utf8?q?Fix(web):=20=D0=92=D1=8B=D1=80=D0=BE=D0=B2=D0=BD?= =?utf8?q?=D1=8F=D1=82=D1=8C=20=D0=B2=D0=BF=D1=80=D0=B0=D0=B2=D0=BE=20?= =?utf8?q?=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D0=BA=D0=BD=D0=B8=D0=B3?= =?utf8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- m_librarian/web/views/books_by_author.py | 8 ++++---- m_librarian/web/views/books_by_author.tmpl | 2 +- m_librarian/web/views/list_books.py | 8 ++++---- m_librarian/web/views/list_books.tmpl | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/m_librarian/web/views/books_by_author.py b/m_librarian/web/views/books_by_author.py index e53f1d5..664c583 100644 --- a/m_librarian/web/views/books_by_author.py +++ b/m_librarian/web/views/books_by_author.py @@ -37,10 +37,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '3.1.0' __CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1) -__CHEETAH_genTime__ = 1528718535.338311 -__CHEETAH_genTimestamp__ = 'Mon Jun 11 15:02:15 2018' +__CHEETAH_genTime__ = 1528755605.645537 +__CHEETAH_genTimestamp__ = 'Tue Jun 12 01:20:05 2018' __CHEETAH_src__ = 'books_by_author.tmpl' -__CHEETAH_srcLastModified__ = 'Mon Jun 11 15:02:13 2018' +__CHEETAH_srcLastModified__ = 'Tue Jun 12 01:19:14 2018' __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -142,7 +142,7 @@ class books_by_author(layout): write(u'''"> ''') for column in VFFSL(SL,"columns",True): # generated from line 36, col 3 - if VFFSL(SL,"column",True) == 'ser_no': # generated from line 37, col 3 + if VFFSL(SL,"column",True) in ('ser_no', 'size'): # generated from line 37, col 3 style = ' style="text-align: right; width: 5ex"' else: # generated from line 39, col 3 style = '' diff --git a/m_librarian/web/views/books_by_author.tmpl b/m_librarian/web/views/books_by_author.tmpl index d8a319c..2200913 100644 --- a/m_librarian/web/views/books_by_author.tmpl +++ b/m_librarian/web/views/books_by_author.tmpl @@ -34,7 +34,7 @@ $cgi.escape($series, 1)#slurp #for $column in $columns - #if $column == 'ser_no' + #if $column in ('ser_no', 'size') #set $style = ' style="text-align: right; width: 5ex"' #else #set $style = '' diff --git a/m_librarian/web/views/list_books.py b/m_librarian/web/views/list_books.py index b0306dc..c9af4b4 100644 --- a/m_librarian/web/views/list_books.py +++ b/m_librarian/web/views/list_books.py @@ -37,10 +37,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '3.1.0' __CHEETAH_versionTuple__ = (3, 1, 0, 'final', 1) -__CHEETAH_genTime__ = 1528718535.673384 -__CHEETAH_genTimestamp__ = 'Mon Jun 11 15:02:15 2018' +__CHEETAH_genTime__ = 1528755606.297172 +__CHEETAH_genTimestamp__ = 'Tue Jun 12 01:20:06 2018' __CHEETAH_src__ = 'list_books.tmpl' -__CHEETAH_srcLastModified__ = 'Mon Jun 11 15:02:00 2018' +__CHEETAH_srcLastModified__ = 'Tue Jun 12 01:20:03 2018' __CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -145,7 +145,7 @@ class list_books(layout): write(u'''"> ''') for column in VFFSL(SL,"columns",True): # generated from line 39, col 3 - if VFFSL(SL,"column",True) == 'ser_no': # generated from line 40, col 3 + if VFFSL(SL,"column",True) in ('ser_no', 'size'): # generated from line 40, col 3 style = ' style="text-align: right; width: 5ex"' else: # generated from line 42, col 3 style = '' diff --git a/m_librarian/web/views/list_books.tmpl b/m_librarian/web/views/list_books.tmpl index 1c0ebde..5d70c88 100644 --- a/m_librarian/web/views/list_books.tmpl +++ b/m_librarian/web/views/list_books.tmpl @@ -37,7 +37,7 @@ $cgi.escape($series, 1)#slurp #for $column in $columns - #if $column == 'ser_no' + #if $column in ('ser_no', 'size') #set $style = ' style="text-align: right; width: 5ex"' #else #set $style = '' -- 2.39.2