From 2ad579dbb2c9a7b42e9b31ae8030a80b133f1176 Mon Sep 17 00:00:00 2001 From: Johannes Keyser Date: Sat, 6 May 2017 17:08:31 +0100 Subject: [PATCH] first_boot: de-bloat first welcome screen, #830 --- plinth/modules/first_boot/templates/firstboot_complete.html | 6 ++---- plinth/modules/users/forms.py | 4 ---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/plinth/modules/first_boot/templates/firstboot_complete.html b/plinth/modules/first_boot/templates/firstboot_complete.html index 9955af03b..96f0af71d 100644 --- a/plinth/modules/first_boot/templates/firstboot_complete.html +++ b/plinth/modules/first_boot/templates/firstboot_complete.html @@ -30,15 +30,13 @@

{% blocktrans trimmed %} - {{ box_name }} setup is now complete. To make your {{ box_name }} - functional, you need some applications. They will be installed - the first time you access them. + Without any apps, your {{ box_name }} is dull. {% endblocktrans %}

- {% trans "Go to Apps" %} + {% trans "Go install apps!" %}

{% trans "Current Network Configuration" %}

diff --git a/plinth/modules/users/forms.py b/plinth/modules/users/forms.py index 6c6f1961c..936090944 100644 --- a/plinth/modules/users/forms.py +++ b/plinth/modules/users/forms.py @@ -281,10 +281,6 @@ class FirstBootForm(ValidNewUsernameCheckMixin, auth.forms.UserCreationForm): # Restrict console login to users in admin or sudo group try: set_restricted_access(True) - message = _('Console login access restricted to users in ' - '"admin" group. This can be configured in ' - 'security settings.') - messages.success(self.request, message) except Exception: messages.error(self.request, _('Failed to restrict console access.'))