From 8f37dbf3863f4720bb05b39c29f91fd854b11f0c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 20 Jan 2015 14:16:40 +0100 Subject: also detect maintenance mode --- js/app/Config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/app/Config.js') diff --git a/js/app/Config.js b/js/app/Config.js index 69d12f9d2..c6c511211 100644 --- a/js/app/Config.js +++ b/js/app/Config.js @@ -57,7 +57,9 @@ app.config(function ($routeProvider, $provide, $httpProvider) { 'Try to reload the page!'), 500: t('news', 'Internal server error! Please check your ' + 'data/owncloud.log file for additional ' + - 'information!') + 'information!'), + 503: t('news', 'Request failed, ownCloud is in currently ' + + 'in maintenance mode!'), }; // status 0 is a network error if (response.status in messages) { -- cgit v1.2.3