{% extends 'base.html' %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load i18n %} {% block content %} {% if not is_task_running %}
{% csrf_token %}
{% else %}

{% trans "Diagnostics test is currently running" %}

{{ results.progress_percentage }}%
{% endif %} {% if results %}

{% trans "Results" %}

{% for app_id, app_data in results.results.items %}

{% blocktrans with app_name=app_data.name %} App: {{app_name}} {% endblocktrans %}

{% if app_data.show_rerun_setup %}
{% csrf_token %}
{% endif %}
{% if app_data.diagnosis %} {% include "diagnostics_results.html" with results=app_data.diagnosis %} {% elif app_data.exception %} {% else %}

{% endif %} {% endfor %} {% endif %} {% endblock %}