summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/js-src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/js-src')
-rw-r--r--apps/updatenotification/js-src/app.js1
-rw-r--r--apps/updatenotification/js-src/components/root.vue8
2 files changed, 9 insertions, 0 deletions
diff --git a/apps/updatenotification/js-src/app.js b/apps/updatenotification/js-src/app.js
index bf96a2ff326..0b28cabd6ac 100644
--- a/apps/updatenotification/js-src/app.js
+++ b/apps/updatenotification/js-src/app.js
@@ -48,6 +48,7 @@ define(function (require) {
this.vm.channels = data.channels;
this.vm.notifyGroups = data.notifyGroups;
this.vm.isDefaultUpdateServerURL = data.isDefaultUpdateServerURL;
+ this.vm.versionIsEol = data.versionIsEol;
}
};
});
diff --git a/apps/updatenotification/js-src/components/root.vue b/apps/updatenotification/js-src/components/root.vue
index 774fd6dd539..a52e1b12bd4 100644
--- a/apps/updatenotification/js-src/components/root.vue
+++ b/apps/updatenotification/js-src/components/root.vue
@@ -2,6 +2,13 @@
<div id="updatenotification" class="followupsection">
<div class="update">
<template v-if="isNewVersionAvailable">
+ <p v-if="versionIsEol">
+ <span class="warning">
+ <span class="icon icon-error"></span>
+ {{ t('updatenotification', 'The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.') }}
+ </span>
+ </p>
+
<p>
<span v-html="newVersionAvailableString"></span><br>
<span v-if="!isListFetched" class="icon icon-loading-small"></span>
@@ -83,6 +90,7 @@
lastCheckedDate: '',
isUpdateChecked: false,
updaterEnabled: true,
+ versionIsEol: false,
downloadLink: '',
isNewVersionAvailable: false,
updateServerURL: '',