FreedomBox/plinth/modules/upgrades/templates/update-firstboot.html
Sunil Mohan Adapa 62e7f9dc62
upgrades: Relabel from 'Update' to 'Software Update'
- The term 'Update' without a context is not easy to understand. This is
especially true during first setup wizard.

- This makes our UI similar to Android and lot of other OSes.

Tests:

- Trigger a update notification by incrementing FreedomBox version. In there,
the name of the app in the first line shows 'Software Update'.

- During first setup wizard, the title of the wizard step is 'Software Update'
initially and also when upgrades are running.

- In the System page, the title on the card is 'Software Update'. So is the
title on the app page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-12-24 08:11:26 -05:00

37 lines
849 B
HTML

{% extends "base_firstboot.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load static %}
{% block content %}
<h2>{% trans "Software Update" %}</h2>
<p>
{% blocktrans trimmed %}
Check for and apply the latest software and security updates.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
<strong>This may take a long time to complete.</strong> During
an update, this web interface may be temporarily unavailable and
show an error. In that case, refresh the page to continue.
{% endblocktrans %}
</p>
<form class="form" method="post">
{% csrf_token %}
{{ form|bootstrap }}
<input type="submit" class="btn btn-primary" name="next"
value="{% trans "Next" %}"/>
</form>
{% endblock %}