Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-03-11 14:23:15 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-03-25 02:04:33 +0300
commite8122f21c5bdba3e284931b3b076f5b127c062e0 (patch)
tree238149d7d486c5d1b9583809ed6be5e90ca807d4 /apps/updatenotification/src/components/UpdateNotification.vue
parent47c9cd97b937fed2d54fe096512c0efc78f45b94 (diff)
show warning in update admin overview
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/updatenotification/src/components/UpdateNotification.vue')
-rw-r--r--apps/updatenotification/src/components/UpdateNotification.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/updatenotification/src/components/UpdateNotification.vue b/apps/updatenotification/src/components/UpdateNotification.vue
index 09c229fb36e..0f978358e3f 100644
--- a/apps/updatenotification/src/components/UpdateNotification.vue
+++ b/apps/updatenotification/src/components/UpdateNotification.vue
@@ -41,6 +41,12 @@
</ul>
</template>
+ <template v-if="!isWebUpdaterRecommended && updaterEnabled && webUpdaterEnabled">
+ <h3 class="warning">
+ {{ t('updatenotification', 'Please note that the web updater is not recommended with more than 100 users! Please use the command line updater instead!') }}
+ </h3>
+ </template>
+
<div>
<a v-if="updaterEnabled && webUpdaterEnabled"
href="#"
@@ -136,6 +142,7 @@ export default {
lastCheckedDate: '',
isUpdateChecked: false,
webUpdaterEnabled: true,
+ isWebUpdaterRecommended: true,
updaterEnabled: true,
versionIsEol: false,
downloadLink: '',
@@ -328,6 +335,7 @@ export default {
this.lastCheckedDate = data.lastChecked
this.isUpdateChecked = data.isUpdateChecked
this.webUpdaterEnabled = data.webUpdaterEnabled
+ this.isWebUpdaterRecommended = data.isWebUpdaterRecommended
this.updaterEnabled = data.updaterEnabled
this.downloadLink = data.downloadLink
this.isNewVersionAvailable = data.isNewVersionAvailable