{# Action grid region — v0.61.54 (#891). CTA cards on dashboards. One card per `actions:` entry; each carries a label, optional icon, optional count badge (resolved per-card via `_fetch_count_metric` at request time), and a click target. Tone tokens map to design palette: - positive → success surface - warning → warning surface - destructive → destructive surface - accent → primary tint - neutral → muted (default) Card safety: region emits zero chrome + zero title. The dashboard slot owns both via region_card. v0.62 CSS refactor: inline Tailwind → semantic .dz-action-* classes (components/regions.css). Per-card tone tints + count-badge tints still routed through dz-tones.css keyed off data-dz-tone / data-dz-tone-badge (unchanged from #906 fix). Hover affordance now gated on the wrapper element (a.dz-action-card vs div.dz-action-card) via CSS rather than duplicated inline. #} {% from 'macros/region_wrapper.html' import region_card %} {% call region_card(title) %}
{{ empty_message | default("No actions available.") }}
{% endif %}