$def with (work) $jsdef render_lazy_work_preview(work):
$if work['cover_i']: $_('Cover of: %(title)s', title=work['title'])
$work['key']
$work['full_title'] $if 'first_publish_year' in work: ($work['first_publish_year']) $if work['author_name']: $_('by') ${', '.join(work['author_name'])} • $if work['edition_count'] == 1: $_("1 edition") $else: $work['edition_count'] $_("editions")
$if work: $:render_lazy_work_preview(work)