diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-06 17:13:35 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-06 17:13:35 +0100 |
commit | 2d72c16ecdc6d60b000f6cc8f8c73a8378f11d4a (patch) | |
tree | d0414c8fb1b4cbda4a35f138bbe36c549dfb3329 /apps | |
parent | bb58d12bcaf991530be1c526d5de78e473936734 (diff) | |
download | nextcloud-server-2d72c16ecdc6d60b000f6cc8f8c73a8378f11d4a.tar.gz nextcloud-server-2d72c16ecdc6d60b000f6cc8f8c73a8378f11d4a.zip |
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.css | 5 | ||||
-rw-r--r-- | apps/updatenotification/js-src/components/root.vue | 3 |
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) { |