From 5edc1edcfbc1f55b6198355786e96a65b94e6351 Mon Sep 17 00:00:00 2001 From: Robert Martinez Date: Fri, 26 Oct 2018 01:42:31 +0200 Subject: [PATCH] Incorporate feedback from MR * change wording * correct indentation * correct typos * disable update button * use semantic tag * reduce button size * apply consistent id-naming Reviewed-by: James Valleroy --- plinth/modules/upgrades/__init__.py | 2 +- plinth/modules/upgrades/templates/upgrades.html | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index b46bf68d5..146eda26b 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -35,7 +35,7 @@ managed_packages = ['unattended-upgrades'] name = _('Update') description = [ - _('Search for and apply the latest software and security updates. ') + _('Check for and apply the latest software and security updates. ') ] service = None diff --git a/plinth/modules/upgrades/templates/upgrades.html b/plinth/modules/upgrades/templates/upgrades.html index bb8954be8..2112ed74a 100644 --- a/plinth/modules/upgrades/templates/upgrades.html +++ b/plinth/modules/upgrades/templates/upgrades.html @@ -39,24 +39,24 @@
{% csrf_token %} - +

{% endif %} {% if is_busy %} -

+ {% endif %}

{% blocktrans trimmed %} - This may take a long time to complete. During an update, you + This may take a long time to complete. During an update, you can not install apps. Also, this web interface may be temporarily - unavailable and show an error. In that case refresh the page to continue. + unavailable and show an error. In that case, refresh the page to continue. {% endblocktrans %}

@@ -64,11 +64,11 @@ {% if log %}

- -

+
{{ log }}