{% extends "fitcheck/base.html" %} {% load i18n %} {% block fitcheck_content %}
{{ doctrine.name }}
{% for category in doctrine.categories.all %} {{ category.name }} {% endfor %}
{% translate "Export CSV" %} {% translate "Back to overview" %}
{% translate "Compliance trend" %}
{% if chart %} {% include "fitcheck/reports/partials/trend_chart.html" %} {% else %}

{% translate "Not enough snapshot history to chart yet - the trend appears once the daily snapshot task has run at least twice." %}

{% endif %}
{% translate "Members" %} ({{ total_members }})
{% translate "All" %} ({{ total_members }}) {% for state, label in state_labels.items %} {{ label }} ({% for s, n in counts.items %}{% if s == state %}{{ n }}{% endif %}{% endfor %}) {% endfor %}
{% if active_state %}{% endif %}
{% for row in page_obj %} {% empty %} {% endfor %}
{% translate "Character" %} {% translate "State" %} {% translate "Fit" %} {% translate "Last submission" %}
{{ row.character_name }} {% if row.state == "compliant" %}{% translate "Compliant" %} {% elif row.state == "subs" %}{% translate "Compliant (subs)" %} {% elif row.state == "non_compliant" %}{% translate "Non-compliant" %} {% else %}{% translate "No submission" %}{% endif %} {% if row.submission %}{{ row.submission.doctrine_fit.name }}{% else %}{% endif %} {% if row.submission %} {{ row.submission.created_at|date:"Y-m-d H:i" }} {% else %}{% endif %}
{% translate "No members match this filter." %}
{% include "fitcheck/partials/pagination.html" %}
{% translate "Failure analytics" %}

{% translate "Counted over each pilot's latest submission per fit, so frequent resubmitters are not over-weighted." %} {% if analytics.window_days %} {% blocktranslate with days=analytics.window_days %}Only submissions from the last {{ days }} days are considered.{% endblocktranslate %} {% endif %} ({{ analytics.submissions_considered }} {% translate "submissions considered" %})

{% translate "Top failing modules" %}
{% if analytics.top_failures %} {% for f in analytics.top_failures %} {% endfor %}
{% translate "Module" %} {% translate "Missing" %} {% translate "Not allowed" %} {% translate "Qty short" %} {% translate "Pilots" %}
{{ f.name }} {{ f.missing|default:0 }} {{ f.not_allowed|default:0 }} {{ f.qty_short|default:0 }} {{ f.pilots }}
{% else %}

{% translate "No failures recorded - nothing to fix." %}

{% endif %}
{% translate "Most-used substitutions" %}
{% if analytics.top_substitutions %} {% for s in analytics.top_substitutions %} {% endfor %}
{% translate "Doctrine module" %} {% translate "Substituted with" %} {% translate "Times" %} {% translate "Pilots" %}
{{ s.expected_type__name }} {{ s.actual_type__name }} {{ s.occurrences }} {{ s.pilots }}
{% else %}

{% translate "No substitutions recorded." %}

{% endif %}
{% endblock %}