{# metrics - list of accessible MetricBase instances to render. #}
{# ── Toolbar ── #}
{% if h.check_access('better_stats_view_settings') %} {{ _('Settings') }} {% endif %}
{# ── Metric grid ── #}
{% for metric in metrics %} {% snippet 'better_stats/metric_card.html', metric=metric %} {% endfor %}

{{ _('No metrics match your search.') }}

{# ── Single fullscreen modal (reused for all metrics) ── #}