diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2018-09-12 13:18:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 13:18:44 +0200 |
commit | 2e72efef3b8011b62ee05ee47a98ff48c023e8ac (patch) | |
tree | 542fd2cc271e40e6c8e1190034261737781b6e7b | |
parent | 7168749398dbc3eafe3eaf83681a9db9830e3047 (diff) | |
parent | 57ef1d307bec09c61b813ca6bafe261e8fe4df22 (diff) | |
download | nextcloud-server-2e72efef3b8011b62ee05ee47a98ff48c023e8ac.tar.gz nextcloud-server-2e72efef3b8011b62ee05ee47a98ff48c023e8ac.zip |
Merge pull request #11183 from nextcloud/bugfix/10765/fix-link-for-update-notifications
Fix the link and anchor for the update notifications
-rw-r--r-- | apps/updatenotification/lib/Notification/Notifier.php | 2 | ||||
-rw-r--r-- | 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 c88937f0dff..4e3a30f225e 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 cf725d3101e..aad6ae80a7d 100644 --- a/settings/templates/settings/admin/overview.php +++ b/settings/templates/settings/admin/overview.php @@ -59,7 +59,7 @@ </div> -<div class="section"> +<div id="version" class="section"> <!-- should be the last part, so Updater can follow if enabled (it has no heading therefore). --> <h2><?php p($l->t('Version'));?></h2> <p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p> |