{% import "tungsten/components/ui.html" as ui %} {# ActivityWidget: a timeline of recent events. #} {% call ui.card(__(w.heading) if w.heading else none, __(w.description) if w.description else none, 'px-6 pb-6 pt-5', 'h-full', link, w.link_label, w.icon, w.icon_color) %} {% if entries %}
    {% for it in entries %}{{ ui.timeline_item(__(it.label), __(it.description) if it.description else none, it.time, it.icon or 'circle-dot', it.color, loop.last, it.url) }}{% endfor %}
{% else %}

{{ __('Nothing here yet.') }}

{% endif %} {% endcall %}