{% import "tungsten/components/ui.html" as ui %} {# LeaderboardWidget: ranked rows with avatar, value and an optional bar. #} {% call ui.card(__(w.heading) if w.heading else none, __(w.description) if w.description else none, 'px-4 pb-4 pt-4', 'h-full', link, w.link_label, w.icon, w.icon_color) %} {% endcall %}