From 57ef1d307bec09c61b813ca6bafe261e8fe4df22 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 12 Sep 2018 10:24:02 +0200 Subject: [PATCH] Fix the link and anchor for the update notifications Signed-off-by: Joas Schilling --- apps/updatenotification/lib/Notification/Notifier.php | 2 +- settings/templates/settings/admin/overview.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php index c88937f0df..4e3a30f225 100644 --- a/apps/updatenotification/lib/Notification/Notifier.php +++ b/apps/updatenotification/lib/Notification/Notifier.php @@ -108,7 +108,7 @@ class Notifier implements INotifier { $notification->setParsedSubject($l->t('Update to %1$s is available.', [$parameters['version']])); if ($this->isAdmin()) { - $notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index') . '#updater'); + $notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index', ['section' => 'overview']) . '#version'); } } else { $appInfo = $this->getAppInfo($notification->getObjectType()); diff --git a/settings/templates/settings/admin/overview.php b/settings/templates/settings/admin/overview.php index cf725d3101..aad6ae80a7 100644 --- a/settings/templates/settings/admin/overview.php +++ b/settings/templates/settings/admin/overview.php @@ -59,7 +59,7 @@ -
+

t('Version'));?>

getTitle()); ?>