$def with (list) $ cover = list.get_cover() or list.get_default_cover() $ cover_url = cover and cover.url("M") or "/images/icons/avatar_book-sm.png" $ owner = list.get_owner() $ is_owner = ctx.user and ctx.user.key == owner.key $if is_owner: $list.name by $_('You') $else: $list.name by $owner.displayname $ungettext("1 item", "%(count)d items", len(list.seeds), count=len(list.seeds)) $_('Last modified %(date)s', date=datestr(list.last_modified)) $if list.description: $:format(list.description)