{% extends "base.html" %} {% load i18n static ui help charts %} {% comment %} Quality (#77, #174, #202), a compact worklist (#235, the Quality board): the verdict strip with the one decision (go to the indices, or replace the file), the coverage strip (missing days per year), then the checks as a rail with the selected check's detail wide beside it (stations/_qc_review.html, #264), the checks that found nothing in one line, and the daily charts with the flags and the distributions as disclosures. While the checks run, their progress and "Your data" (what is in the file). No forms (#199): the thresholds and the file are changed in the Inputs sheets, which the page's links and "Edit inputs" on the provenance line open (#264, as on the Indices, #263: no Inputs panel beside the section, so the check's detail has the width). After a change to the file, the thresholds or the name (#179) the checks shown stay, under a banner that says they are out of date and shows the new checks' progress, and the decision waits for the new checks. Context from views.qc_context. {% endcomment %} {% block title %}{% blocktranslate with name=analysis.station_name %}Quality: {{ name }}{% endblocktranslate %}{% endblock %} {% block head %}{% chart_scripts %}{% if review %}{% endif %} {% if job and not job.is_finished %}{% endif %}{% endblock %} {% block content %}
{% include "stations/_workspace.html" with heading=True edit_inputs=True %} {% comment %}No Inputs panel beside the section, so the checks' rail and detail have the width (#264, as on the Indices, #263): "Edit inputs" on the provenance line opens its sheet, and on narrow pages the Inputs bar under the tabs. Without JavaScript the panel shows above the section.{% endcomment %}
{% include "stations/_inputs.html" %}
{% if stale %} {% translate "The checks below are from before the change." as stale_note %} {% if stale.replacing and not job.is_finished %} {% translate "Checking again" as stale_title %}{% translate "The checks below are from before the change. The new checks replace them when they are ready." as stale_note %} {% include "components/stale_banner.html" with id="qc-stale" title=stale_title changes=stale.changes note=stale_note updating=True body="stations/_qc_progress.html" %} {% elif stale.replacing %} {% if job.status == "failed" %}{% translate "The new checks could not be run" as stale_title %}{% else %}{% translate "The new checks were stopped" as stale_title %}{% endif %} {% include "components/stale_banner.html" with id="qc-stale" title=stale_title changes=stale.changes note=job.error|default:stale_note body="stations/_qc_run_again.html" %} {% else %} {% translate "The checks are out of date" as stale_title %}{% url 'stations:setup' analysis.workspace_id analysis.slug as data_url %}{% translate "Check the station details to check the new file." as data_label %} {% include "components/stale_banner.html" with id="qc-stale" title=stale_title changes=stale.changes note=stale_note action_href=data_url action_label=data_label %} {% endif %} {% elif job and not job.is_finished %} {% include "stations/_qc_progress.html" %} {% elif job.status == "failed" %} {% elif not review %} {% comment %}Stopped, or not run on this file yet: the thresholds sheet runs them.{% endcomment %}
{% icon "info" %}

{% if job.status == "cancelled" %}{% translate "The checks were stopped." %}{% else %}{% translate "The checks have not run on this file yet." %}{% endif %} {% translate "Keep the thresholds or change them, then run the checks." %}

{% include "stations/_qc_run_again.html" %}
{% endif %} {% if review %}{% include "stations/_qc_verdict.html" %}{% endif %}
{% if review %}{% if stale %}
{% endif %} {% comment %}"Your data" before #235 (and Data's old address, quality#your-data): the coverage.{% endcomment %} {% if review.years %}
{% include "stations/_qc_coverage.html" %}
{% endif %} {% if items %}{% include "stations/_qc_review.html" %}{% endif %} {% with quiet=review.quiet %}{% if quiet %}

{% icon "check-circle" %}{% blocktranslate count counter=quiet|length trimmed %}{{ counter }} check found nothing{% plural %}{{ counter }} checks found nothing{% endblocktranslate %} {{ review.quiet_titles }}

{% endif %}{% endwith %} {% if stale %}
{% endif %} {% endif %} {% if summary and not review %}{% include "stations/_summary.html" %}{% endif %} {% if review %}{% if stale %}
{% endif %}{% include "stations/_qc_details.html" %}{% if stale %}
{% endif %}{% endif %}

{% translate "Climpact never changes your data." %}

{% include "stations/_retention.html" with quiet=True %}
{% csrf_token %} {% translate "Delete this data now" as delete_label %} {% include "components/button.html" with label=delete_label type="submit" variant="ghost" size="sm" icon="close" %} {% translate "Start again with another station" %}
{% include "stations/_input_sheets.html" %} {% endblock %}