From a133e7970d766d9bb54da678174ef3dd53270357 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Sat, 13 Aug 2016 00:29:39 +0200 Subject: [PATCH] make updatenotification settings appear as if it is part of the version part in server settings --- .../updatenotification/lib/Controller/AdminController.php | 2 +- apps/updatenotification/templates/admin.php | 4 +--- settings/css/settings.css | 8 ++++++++ settings/templates/admin/server.php | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php index 3c6ab463059..ebb3fa642f1 100644 --- a/apps/updatenotification/lib/Controller/AdminController.php +++ b/apps/updatenotification/lib/Controller/AdminController.php @@ -168,6 +168,6 @@ class AdminController extends Controller implements ISettings { * E.g.: 70 */ public function getPriority() { - return 5; + return 1; } } diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php index b1cc76534e3..3c3d6cbd4cd 100644 --- a/apps/updatenotification/templates/admin.php +++ b/apps/updatenotification/templates/admin.php @@ -13,9 +13,7 @@ /** @var string $currentChannel */ $currentChannel = $_['currentChannel']; ?> -
-

t('Updater')); ?>

- + t('A new version is available: %s', [$newVersionString])); ?> diff --git a/settings/css/settings.css b/settings/css/settings.css index b006f1f5656..b40b7a17904 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -372,6 +372,14 @@ span.version { .section h2.app-name { margin-bottom: 8px; } +.followupsection { + display: block; + padding: 0 30px 30px 30px; + color: #555; + margin-bottom: 24px; + margin-top: -30px; + position: relative; +} .app-image { float: left; padding-right: 10px; diff --git a/settings/templates/admin/server.php b/settings/templates/admin/server.php index 43df787d519..1e24043b3dc 100644 --- a/settings/templates/admin/server.php +++ b/settings/templates/admin/server.php @@ -319,6 +319,7 @@ if ($_['mail_smtpmode'] == 'qmail') {
+

t('Version'));?>

getTitle()); ?>

-- 2.39.5