Show the well-known URL check as info instead of error

* ref https://github.com/owncloud/core/pull/21562#issuecomment-170344549
This commit is contained in:
Morris Jobke 2016-01-12 09:15:57 +01:00
parent 3317dd0a8e
commit a6c7cdd75e
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@
var docUrl = placeholderUrl.replace('PLACEHOLDER', 'admin-setup-well-known-URL');
messages.push({
msg: t('core', 'Your web server is not set up properly to resolve "{url}". Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', { docLink: docUrl, url: url }),
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
type: OC.SetupChecks.MESSAGE_TYPE_INFO
});
}
deferred.resolve(messages);

View File

@ -69,7 +69,7 @@ describe('OC.SetupChecks tests', function() {
async.done(function( data, s, x ){
expect(data).toEqual([{
msg: 'Your web server is not set up properly to resolve "/.well-known/caldav/". Further information can be found in our <a target="_blank" href="http://example.org/admin-setup-well-known-URL">documentation</a>.',
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
type: OC.SetupChecks.MESSAGE_TYPE_INFO
}]);
done();
});