Lines 957-963
define([
|
Link Here
|
---|
|
957 |
'values': values || {} |
957 |
'values': values || {} |
958 |
}; |
958 |
}; |
959 |
|
959 |
|
960 |
this._progressBar.reset(_('%s: Performing software tests on involved systems', entities.encode(this.app.name))); |
960 |
this._progressBar.reset(_('%s: Performing software tests on involved systems', this.app.name)); |
961 |
this._progressBar._progressBar.set('value', Infinity); // TODO: Remove when this is done automatically by .reset() |
961 |
this._progressBar._progressBar.set('value', Infinity); // TODO: Remove when this is done automatically by .reset() |
962 |
var invokation; |
962 |
var invokation; |
963 |
if (this.app.installsAsDocker()) { |
963 |
if (this.app.installsAsDocker()) { |
Lines 1082-1088
define([
|
Link Here
|
---|
|
1082 |
if (keepAlive !== false) { |
1082 |
if (keepAlive !== false) { |
1083 |
tools.umcpCommand('appcenter/keep_alive', {}, false); |
1083 |
tools.umcpCommand('appcenter/keep_alive', {}, false); |
1084 |
} |
1084 |
} |
1085 |
msg = entities.encode(msg || _('Another package operation is in progress.')); |
1085 |
msg = msg || _('Another package operation is in progress.'); |
1086 |
var callback = lang.hitch(this, function() { |
1086 |
var callback = lang.hitch(this, function() { |
1087 |
if (this._progressBar.getErrors().errors.length) { |
1087 |
if (this._progressBar.getErrors().errors.length) { |
1088 |
deferred.reject(); |
1088 |
deferred.reject(); |
Lines 1110-1123
define([
|
Link Here
|
---|
|
1110 |
var role = match[2]; |
1110 |
var role = match[2]; |
1111 |
var host = match[3]; |
1111 |
var host = match[3]; |
1112 |
error = '<p>' + _('Installing the extension of the LDAP schema on %s seems to have failed.', '<strong>' + entities.encode(host) + '</strong>') + '</p>'; |
1112 |
error = '<p>' + _('Installing the extension of the LDAP schema on %s seems to have failed.', '<strong>' + entities.encode(host) + '</strong>') + '</p>'; |
1113 |
if (role == 'DC Backup') { |
1113 |
if (role === 'DC Backup') { |
1114 |
error += '<p>' + _('If everything else went correct and this is just a temporary network problem, you should execute %s as root on that backup system.', '<pre>univention-add-app ' + entities.encode(component) + ' -m</pre>') + '</p>'; |
1114 |
error += '<p>' + _('If everything else went correct and this is just a temporary network problem, you should execute %s as root on that backup system.', '<pre>univention-add-app ' + entities.encode(component) + ' -m</pre>') + '</p>'; |
1115 |
} |
1115 |
} |
1116 |
error += '<p>' + _('Further information can be found in the following log file on each of the involved systems: %s', '<br /><em>/var/log/univention/management-console-module-appcenter.log</em>') + '</p>'; |
1116 |
error += '<p>' + _('Further information can be found in the following log file on each of the involved systems: %s', '<br /><em>/var/log/univention/management-console-module-appcenter.log</em>') + '</p>'; |
|
|
1117 |
} else { |
1118 |
error = entities.encode(error); |
1117 |
} |
1119 |
} |
1118 |
return error; |
1120 |
return error; |
1119 |
}); |
1121 |
}); |
1120 |
this._progressBar._errors = errors; |
1122 |
this._progressBar._errors = errors; |
|
|
1123 |
this._progressBar.allowHTMLErrors = true; |
1121 |
this._progressBar.stop(lang.hitch(this, 'restartOrReload'), undefined, true); |
1124 |
this._progressBar.stop(lang.hitch(this, 'restartOrReload'), undefined, true); |
1122 |
}, |
1125 |
}, |
1123 |
|
1126 |
|