mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
Tests: - Build deb and install in buster image. Manually remove backports sources file. Security page does not show backports notice. Updates page shows button to activate backports. - Activate backports from updates page. Success message is shown and button to activate backports is removed. Security page shows backports notice. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
28 lines
830 B
HTML
28 lines
830 B
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block status %}
|
|
{% if is_backports_enabled %}
|
|
<h3>{% trans "Security Notice" %}</h3>
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
Backports are enabled. Please note that packages from the backports
|
|
repository do not have security support from Debian. However, they are
|
|
maintained on a best-effort basis by contributors in Debian and
|
|
FreedomBox community.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
<a class="btn btn-default" role="button" href="{% url 'security:report' %}"
|
|
title="{% trans 'Show security report' %}">
|
|
<span class="fa fa-line-chart" aria-hidden="true"></span>
|
|
{% trans "Show security report" %}
|
|
</a>
|
|
{% endblock %}
|