mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-20 01:14:37 +01:00
...
This commit is contained in:
parent
e18267fc4d
commit
d3df05493b
1 changed files with 4 additions and 0 deletions
|
|
@ -254,6 +254,10 @@ def show_details(self, index):
|
|||
'<h2>%s</h2>'%book.title,
|
||||
'<div><i>%s</i></div>'%authors_to_string(book.authors),
|
||||
]
|
||||
if not book.is_null('series'):
|
||||
series = book.format_field('series')
|
||||
if series[1]:
|
||||
parts.append('<div>%s: %s</div>'%series)
|
||||
if not book.is_null('rating'):
|
||||
parts.append('<div>%s</div>'%('\u2605'*int(book.rating)))
|
||||
parts.append('</center>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue