{# One shared class per state, on a wrapper so the badge markup quoted by the tests (`ok`) is untouched; the wrapper's `--chip-*` tokens are inherited by the badge inside. #} {% if row.verification is none %} {{ tr("missing") }} {{ tr("no manifest") }} {% elif row.verification.ok %} {{ tr("ok") }} {{ trn("{count} file verified", "{count} files verified", row.verification.checked, count=row.verification.checked) }} {% else %} {{ tr("failed") }} {{ row.verification.missing | length }} {{ tr("missing") }}, {{ row.verification.mismatched | length }} {{ tr("mismatched") }} {% if row.verification.missing %}
{{ tr("missing") }}: {{ row.verification.missing | join(", ") }}
{% endif %} {% if row.verification.mismatched %}
{{ tr("mismatched") }}: {{ row.verification.mismatched | join(", ") }}
{% endif %} {% endif %}