diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index 146eda26b..0c6555a06 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -35,7 +35,7 @@ managed_packages = ['unattended-upgrades'] name = _('Update') description = [ - _('Check 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/forms.py b/plinth/modules/upgrades/forms.py index 7cacd3853..4576d357b 100644 --- a/plinth/modules/upgrades/forms.py +++ b/plinth/modules/upgrades/forms.py @@ -14,7 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # - """ Forms for configuring unattended-upgrades. """ @@ -26,5 +25,5 @@ from django.utils.translation import ugettext_lazy as _ class ConfigureForm(forms.Form): """Configuration form to enable/disable automatic upgrades.""" auto_upgrades_enabled = forms.BooleanField( - label=_('Enable auto-update'), required=False, - help_text=_('When enabled, FreedomBox automatically updates once a day.')) + label=_('Enable auto-update'), required=False, help_text=_( + 'When enabled, FreedomBox automatically updates once a day.')) diff --git a/plinth/modules/upgrades/templates/upgrades.html b/plinth/modules/upgrades/templates/upgrades.html index 2112ed74a..067176c06 100644 --- a/plinth/modules/upgrades/templates/upgrades.html +++ b/plinth/modules/upgrades/templates/upgrades.html @@ -46,7 +46,8 @@ {% endif %} {% if is_busy %} - @@ -54,18 +55,18 @@

{% blocktrans trimmed %} - 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. + 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. {% endblocktrans %}

- - {% if log %}

-

@@ -74,7 +75,6 @@

{% endif %} - {% endblock %} {% block page_js %}