Start work on custom book list view for the server

This commit is contained in:
Kovid Goyal 2017-07-13 20:04:24 +05:30
parent 32ded939ca
commit 829e6c72a0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -0,0 +1,20 @@
# vim:fileencoding=utf-8
# License: GPL v3 Copyright: 2017, Kovid Goyal <kovid at kovidgoyal.net>
from __python__ import bound_methods, hash_literals
from gettext import gettext as _
def default_template():
return {
'cover': True,
'comments': False,
'comments_fields': ['comments'],
'height': '12.5ex',
'lines': [
_('<b>{title}</b> by {authors}'),
_('{series_index} of {series}') + '|||{rating}',
'{tags}',
_('Date: {timestamp} Published: {pubdate}'),
]
}