mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Tests performed: - The diagnostics app page and individual app diagnostics pages have app names. - When the app name is missing (the apache app), app id is shown instead. Signed-off-by: Veiko Aasa <veiko17@disroot.org>
25 lines
550 B
HTML
25 lines
550 B
HTML
{% extends 'base.html' %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>{% trans "Diagnostic Results" %}</h2>
|
|
|
|
<h3>{% blocktrans %}App: {{ app_name }}{% endblocktrans %}</h3>
|
|
|
|
{% if results %}
|
|
{% include "diagnostics_results.html" with results=results %}
|
|
{% elif exception %}
|
|
<div class="alert alert-danger" role="alert">
|
|
{{ exception }}
|
|
</div>
|
|
{% else %}
|
|
<p>{% trans "This app does not support diagnostics" %}</p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|