{% load vantage i18n %}

{{ detail.label }}

{% translate "All models" %}
{% translate "Rows" %}
{{ detail.rows_display }} {% if detail.skipped %}{% translate "skipped" %} {% elif detail.sampled %}{% blocktranslate with n=detail.scanned %}sample of the newest {{ n }}{% endblocktranslate %} {% elif detail.rows_kind == "estimated" %}{% translate "estimated" %}{% endif %}
{% translate "Score" %}
{% if detail.score is None %}–{% else %}{{ detail.score }}{% endif %}
{% translate "Audited" %}
{{ detail.ran_at|timesince }} {% translate "ago" %}
{% if detail.url %}
{% translate "List page" %}
{{ detail.label }}
{% endif %}

{% translate "Findings" %}

{% if detail.findings %}
{% for f in detail.findings %} {% endfor %}
{% translate "Check" %} {% translate "Field" %} {% translate "Finding" %} {% translate "Share" %} {% translate "Rows" %}
{{ f.severity }}: {{ f.check }} {{ f.field|default:"–" }} {{ f.message }}{% if f.sampled %} ({% translate "in sample" %}){% endif %} {{ f.percent|default:"–" }} {% if f.url %}{% translate "View rows" %}{% endif %}
{% else %}

{% translate "Nothing found." %}

{% endif %}

{% translate "Checks run" %}

{% for run in detail.checks %} {% endfor %}
{% translate "Check" %}{% translate "Status" %}{% translate "Detail" %}
{{ run.label }} {{ run.status }} {{ run.reason }}