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
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-06 19:13:35 +0300
committerJoas Schilling <coding@schilljs.com>2018-03-06 19:13:35 +0300
commit2d72c16ecdc6d60b000f6cc8f8c73a8378f11d4a (patch)
treed0414c8fb1b4cbda4a35f138bbe36c549dfb3329 /apps
parentbb58d12bcaf991530be1c526d5de78e473936734 (diff)
Show a loading message while we determinate the status of the updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/css/admin.css5
-rw-r--r--apps/updatenotification/js-src/components/root.vue3
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/updatenotification/css/admin.css b/apps/updatenotification/css/admin.css
index 78f79502c8e..20c9253f472 100644
--- a/apps/updatenotification/css/admin.css
+++ b/apps/updatenotification/css/admin.css
@@ -20,3 +20,8 @@
#updatenotification h3:first-of-type {
margin-top: 0;
}
+
+#updatenotification .icon-loading-small {
+ display: inline-block;
+ margin-bottom: -3px;
+}
diff --git a/apps/updatenotification/js-src/components/root.vue b/apps/updatenotification/js-src/components/root.vue
index f123e3283df..23a132ec0b0 100644
--- a/apps/updatenotification/js-src/components/root.vue
+++ b/apps/updatenotification/js-src/components/root.vue
@@ -4,6 +4,7 @@
<template v-if="isNewVersionAvailable">
<p>
<span v-html="newVersionAvailableString"></span><br>
+ <span v-if="!isListFetched" class="icon icon-loading-small"></span>
<span v-html="statusText"></span>
</p>
@@ -149,7 +150,7 @@
statusText: function() {
if (!this.isListFetched) {
- return '';
+ return t('updatenotification', 'Checking apps for compatible updates');
}
if (this.appstoreDisabled) {