$def with (book) $ url = book.get_cover_url("S") or "/images/icons/avatar_book-sm.png" $book.title $book.physical_format.replace('[', '').replace(']','')
$if book.publishers and book.publish_date: , $(', '.join(['%s' % publisher for publisher in book.publishers])) $elif book.publish_date: $elif book.publishers: $(', '.join(['%s' % publisher for publisher in book.publishers])) $else: $_('Publisher unknown')
$if book.ocaid: Read