|
|
|
@ -133,14 +133,13 @@ class Notifier implements INotifier {
|
|
|
|
|
$this->updateAlreadyInstalledCheck($notification, $this->getCoreVersions());
|
|
|
|
|
|
|
|
|
|
$parameters = $notification->getSubjectParameters();
|
|
|
|
|
$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'],
|
|
|
|
|
]
|
|
|
|
|
]);
|
|
|
|
|
$notification->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');
|
|
|
|
|