{#- A card of entries, as on a dashboard. `title`; optional `meta` (a short count beside the title, such as "3 neu, 2 in Bearbeitung"), `emptyText` and `scroll` (for work queues that would grow the card without limit); the `actions` block goes to the right of the header, typically "alle anzeigen". -#} {% set emptyText = emptyText ?? 'Keine Einträge vorhanden.' %} {% set meta = meta ?? null %} {% set scroll = scroll ?? false %} {% set entries %}{% block content %}{% endblock %}{% endset %}

{{ title }}

{% if meta %}{{ meta }}{% endif %} {% block actions %}{% endblock %}
{% if entries|trim is empty %} {% block empty %}

{{ emptyText }}

{% endblock %} {% else %} {% endif %}