mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Closes: #2414. - Remove separate implementation for showing logs in help page. - Add link to the page in diagnostics app so that FreedomBox logs can more easily be discovered by users. Tests: - Raise an exception in the common error middleware to cause a 500 internal server error. Run FreedomBox service with the --develop option and notice that 500 error page is served. There, the link to logs page works. It shows the logs for Diagnostics app. - Diagnostics page description is update. Link to logs page works. - Diagnostics page shows logs for plinth.service and freedombox-develop.service. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
24 lines
615 B
HTML
24 lines
615 B
HTML
{% extends 'base.html' %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>{% trans "500" %}</h2>
|
|
|
|
<p>
|
|
{% url 'logs' app_id='diagnostics' as logs_url %}
|
|
{% blocktrans trimmed %}
|
|
This is an internal error and not something you caused or can fix. Please
|
|
report the error on the <a
|
|
href="https://salsa.debian.org/freedombox-team/freedombox/issues">bug
|
|
tracker</a> so we can fix it. Also, please attach the <a
|
|
href="{{ logs_url }}">logs</a> to the bug report.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
{% endblock %}
|