This commit is contained in:
Kovid Goyal 2010-03-17 07:15:14 +05:30
commit 22dbc9c91a

View File

@ -1322,13 +1322,11 @@ class EPUB_MOBI(CatalogPlugin):
self.generateAuthorAnchor(title['author'])) self.generateAuthorAnchor(title['author']))
aTag.insert(0, title['author']) aTag.insert(0, title['author'])
# This will include the reading progress dots even if we're not generating Recently Read # Prefix author with read/reading/none symbol
if self.opts.connected_kindle and title['id'] in self.bookmarked_books:
authorTag.insert(0, NavigableString(self.READING_SYMBOL + " by "))
else:
# Insert READ/NOT_READ SYMBOL
if title['read']: if title['read']:
authorTag.insert(0, NavigableString(self.READ_SYMBOL + "by ")) authorTag.insert(0, NavigableString(self.READ_SYMBOL + "by "))
elif self.opts.connected_kindle and title['id'] in self.bookmarked_books:
authorTag.insert(0, NavigableString(self.READING_SYMBOL + " by "))
else: else:
authorTag.insert(0, NavigableString(self.NOT_READ_SYMBOL + "by ")) authorTag.insert(0, NavigableString(self.NOT_READ_SYMBOL + "by "))
authorTag.insert(1, aTag) authorTag.insert(1, aTag)