{% extends 'simple_service.html' %} {% comment %} # # This file is part of Plinth. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% endcomment %} {% load i18n %} {% block page_head %} {% if is_running %} {% endif %} {% endblock %} {% block configuration %} {% if not is_running %}
{% csrf_token %}
{% else %}

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

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

{% trans "Results" %}

{% if results.error %}
× {{ results.error }}
{% else %} {% for module, module_results in results.results.items %}

{% blocktrans %}Module: {{ module }}{% endblocktrans %}

{% if module_results %} {% include "diagnostics_results.html" with results=module_results %} {% else %}

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