{% load i18n ui %}{% comment %} One page of a check's table (#77), also the htmx fragment of stations:qc_table. Each row has the date the file reports; "Show on chart" (shown by qc.js) moves the chart of the row's variable to that date, and a flag clicked on a chart selects its rows here. Parameters: analysis, check, page, selected (an ISO date to mark). {% endcomment %}{% url 'stations:qc_table' analysis.pk check.key as table_src %}
{% for label, numeric in check.header %}{% endfor %} {% for row in page.rows %} {% for cell in row.cells %}{% endfor %} {% endfor %}
{% blocktranslate with title=check.title first=page.first last=page.last total=check.rows|length|count trimmed %}{{ title }}: rows {{ first }} to {{ last }} of {{ total }}{% endblocktranslate %}
{% translate "Date" %}{{ label }}
{{ row.date }}{% if cell.missing %}{{ cell.text }}{% elif cell.strong %}{{ cell.text }}{% else %}{{ cell.text }}{% endif %}
{% if page.pages > 1 %} {% endif %}