{# The record as it was after one audit entry (the History tab's "show this version"). Read-only: a list of values, no form. #}

{{ heading }}

{% if incomplete %}

{{ icon("error", size="sm") }} {{ construct.t("audit-version-incomplete") }}

{% endif %}
{% for row in rows %}
{{ row.label }}
{%- if row.unknown == "incomplete" -%}{{ construct.t("audit-value-incomplete") }} {%- elif row.unknown -%}{{ construct.t("audit-value-not-recorded") }} {%- elif row.value is none -%}{{ construct.t("audit-value-empty") }} {%- else -%}{{ row.value }}{%- endif -%}
{% endfor %}

{{ icon("back", size="sm") }} {{ construct.t("audit-version-back") }}