{% load i18n ui help %}{% comment %} One check's section (#77): what it looks for, how many it found, its table and its file. Parameters: check (qc_review.Check), page (its qc_review.Page), analysis, job. {% endcomment %}

{{ check.title }}

{% if check.count %}{% blocktranslate count counter=check.count asvar found trimmed %}{{ counter }} found{% plural %}{{ counter }} found{% endblocktranslate %}{% if check.kind == "error" %}{% include "components/badge.html" with label=found kind="danger" %}{% else %}{% include "components/badge.html" with label=found kind="warning" %}{% endif %}{% else %}{% translate "None found" as none_found %}{% include "components/badge.html" with label=none_found kind="success" icon="check" %}{% endif %}

{{ check.description }}

{% help_topic check.help_id %} {% if check.rows %}{% include "stations/_qc_table.html" with selected="" %}{% endif %} {% if check.file %}

{% icon "download" %} {% blocktranslate with name=check.file_name size=job|file_size:check.file|filesizeformat %}Download {{ name }} ({{ size }}){% endblocktranslate %}

{% endif %}