$_('Trending Books'): $_(pages[mode])
$_("See what readers from the community are adding to their bookshelves")
$for p in pages: $pages[p]
-
$if logged_books:
$for entry in logged_books:
$if 'bookshelf_id' in entry:
$ shelf = {1: "Want to Read", 2: "Currently Reading", 3: "Read"}[entry['bookshelf_id']]
$ extra = "Someone marked as " + shelf + ", " + entry['created'].strftime("%m/%d/%Y at %H:%M:%S")
$else:
$ extra = 'Logged %i times %s' % (entry['cnt'], pages[mode])
$if entry.get('work'):
$:macros.SearchResultsWork(entry['work'], extra=extra, availability=entry['work'].get('availability'))
$:macros.Pager(page, 200, results_per_page=20)