FreedomBox/plinth/modules/upgrades/templates/upgrades-new-release.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

25 lines
641 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load static %}
<div class="notification-title">
{% blocktrans %}{{box_name}} updated{% endblocktrans %}
</div>
<p>
{% blocktrans trimmed with url="https://discuss.freedombox.org/c/announcements/7" %}
{{ box_name }} has been updated to version {{ version }}. See the
<a href="{{ url }}">release announcement</a>.
{% endblocktrans %}
</p>
<p>
<a href="{% url 'notification_dismiss' id='upgrades-new-release' %}?next={{ request.path|iriencode }}"
role="button" class="btn btn-default">
{% trans "Dismiss" %}
</a>
</p>