Files
FreedomBox/plinth/modules/upgrades/templates/backports-firstboot.html
T
James Valleroy 65d8f82ae1 upgrades: Add first boot step to configure backports
Closes: #1855.

Tests:

- On unstable, first boot step is not shown. Backports are not
  enabled.

- On testing, tested enabling backports at first boot step. Backports
  are enabled.

- On testing, tested not enabling backports. Backports are not enabled
  and can be activated later.

- On testing, confirmed that functional tests can click through the
  first boot step.

- On stable with backports, first boot step is not shown. Backports
  are enabled.

- On stable, tested enabling backports at first boot step. Backports
  are enabled.

- On stable, tested not enabling backports. Backports are not enabled
  and can be activated later.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Avoid two different i18n strings with almost same content]
[sunil: Use box_name instead of hardcoded FreedomBox name]
[sunil: Use consistent terminology 'activate' instead of 'enable']
[sunil: Rename the wizard, form, view, url for consistency with existing code]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-09-11 10:54:02 -04:00

48 lines
1.3 KiB
HTML

{% extends "base_firstboot.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block content %}
<h1>{% trans "Frequent Feature Updates" %}</h1>
<p>
{% blocktrans trimmed %}
Frequent feature updates allow a very limited set of software, including
{{box_name}} service, to be updated to receive newer features regularly
instead of once every 2 years or so. Note that packages with frequent
feature updates do not have support from Debian Security Team. They are
instead maintained by contributors to Debian and the {{box_name}}
community.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
It is strongly recommended to activate frequent feature updates. If not
activated now, they can be activated later.
{% endblocktrans %}
</p>
<div class="alert alert-warning" role="alert">
{% blocktrans trimmed %}
<strong>Note:</strong> Once frequent feature updates are activated,
they cannot be deactivated.
{% endblocktrans %}
</div>
<form class="form" method="post">
{% csrf_token %}
{{ form|bootstrap }}
<input type="submit" class="btn btn-primary pull-right" name="next"
value="{% trans "Next" %}"/>
</form>
{% endblock %}