{# ── Quick-filter tab strip ─────────────────────────────────────────────────── #} {% if not rows %} {# Contextual empty state referencing the active tab #} {% if active_tab == "stale" %} {% set line = "No stale items — everything is up to date." %} {% elif active_tab == "all" %} {% set line = "No matching installs — adjust the filters or search." %} {% else %} {% set line = "No " ~ active_tab ~ " installs yet." %} {% endif %} {% include "components/empty_state.html" %} {% else %} {# ── Desktop table ──────────────────────────────────────────────────────────── #} {# ── Mobile card view ───────────────────────────────────────────────────────── #}
{% for r in rows %}
{% if r.disposition %} {% with tone=r.disposition, label=pres.disposition[r.disposition].label %} {% include "components/pill.html" %} {% endwith %} {% endif %}
Manager
{% with manager=r.manager %} {% include "components/manager_badge.html" %} {% endwith %}
Project
{{ r.project or "—" }}
Installed
{{ r.installed_at[:10] }}
{% endfor %}
{% endif %}