{% extends "fitcheck/base.html" %} {% load i18n %} {% load fitcheck_extras %} {% block fitcheck_content %}
{% translate "Compliance reports" %}
{% translate "Export CSV" %}

{% translate "Figures come from the daily compliance snapshot; each row shows a doctrine's target audience and how it splits by compliance state." %}

{% translate "All" %} {% for category in categories %} {{ category.name }} {% endfor %}
{% if rows and not has_snapshots %}
{% translate "No compliance snapshots have been recorded yet. Schedule fitcheck.tasks.take_compliance_snapshots (see the README) or take one now from Settings > Diagnostics & health - trend history cannot be backfilled." %}
{% endif %} {% if rows %} {% for row in rows %} {% if row.latest %} {% else %} {% endif %} {% endfor %}
{% translate "Doctrine" %} {% translate "Trend (14d)" %} {% translate "Audience" %} {% translate "Compliant" %} {% translate "Subs" %} {% translate "Non-compliant" %} {% translate "No submission" %} {% translate "Ready" %}
{{ row.doctrine.name }}
{% for category in row.doctrine.categories.all %} {{ category.name }} {% endfor %}
{% if row.latest %} {% sparkline row.trend %} {% if row.delta and row.delta > 0 %} ▲ {{ row.delta }} {% elif row.delta and row.delta < 0 %} ▼ {{ row.delta }} {% endif %} {% else %} {% translate "No snapshot yet" %} {% endif %} {{ row.latest.audience_count }} {{ row.latest.compliant_count }} {{ row.latest.compliant_subs_count }} {{ row.latest.non_compliant_count }} {{ row.latest.no_submission_count }} {{ row.ready_pct }}%
{% else %}
{% translate "No active doctrines match this filter." %}
{% endif %} {% endblock %}