aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/Notification
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/Notification')
-rw-r--r--apps/updatenotification/lib/Notification/Notifier.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php
index bfbcc203480..f5ba6c3cb35 100644
--- a/apps/updatenotification/lib/Notification/Notifier.php
+++ b/apps/updatenotification/lib/Notification/Notifier.php
@@ -128,7 +128,14 @@ class Notifier implements INotifier {
$this->updateAlreadyInstalledCheck($notification, $this->getCoreVersions());
$parameters = $notification->getSubjectParameters();
- $notification->setParsedSubject($l->t('Update to %1$s is available.', [$parameters['version']]));
+ $notification->setParsedSubject($l->t('Update to %1$s is available.', [$parameters['version']]))
+ ->setRichSubject($l->t('Update to {serverAndVersion} is available.'), [
+ 'serverAndVersion' => [
+ 'type' => 'highlight',
+ 'id' => $notification->getObjectType(),
+ 'name' => $parameters['version'],
+ ]
+ ]);
if ($this->isAdmin()) {
$notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index', ['section' => 'overview']) . '#version');