{{ r.display_name or r.package_name or "—" }}
{% if r.removed_at %}
{% with tone="remove", label="uninstalled" %}
{% include "components/pill.html" %}
{% endwith %}
{% elif r.metadata_complete == 0 %}
needs review
{% else %}
installed
{% endif %}
{{ r.command }}
{% with manager=r.manager %}
{% include "components/manager_badge.html" %}
{% endwith %}
{{ r.project or "—" }}
{% if r.disposition %}
{% set _p = purpose_map.get(r.disposition) if purpose_map is defined else none %}
{% with tone=r.disposition, label=(_p.label if _p else r.disposition) %}
{% include "components/pill.html" %}
{% endwith %}
{% else %}
—
{% endif %}