mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- 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>
43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
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>
|
|
|
|
{% if is_busy %}
|
|
<div class="upgrades-status-frame clearfix">
|
|
<div class="upgrade-status-icon pull-left">
|
|
<span class="fa fa-refresh fa-spin fa-3x fa-pull-left processing"></span>
|
|
</div>
|
|
<p>
|
|
<strong>{% trans "Updating, please wait..." %}</strong>
|
|
</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>
|
|
</div>
|
|
{% else %}
|
|
<p>
|
|
{% blocktrans %}
|
|
{{ box_name }} is up to date. Press Next to continue.
|
|
{% endblocktrans %}
|
|
</p>
|
|
<a title="{% trans 'Next' %}"
|
|
role="button" class="btn btn-primary"
|
|
href={% url next_step %}>
|
|
{% trans 'Next' %}
|
|
</a>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|