').append(''+message+'').appendTo($el);
updateEventSource.close();
});
updateEventSource.listen('failure', function(message) {
@@ -69,16 +69,15 @@
.removeClass('icon-loading-dark');
self.setErrorMessage(message);
- var span = $('')
- .addClass('bold');
+ var updateUnsuccessful = $(' ');
if(message === 'Exception: Updates between multiple major versions and downgrades are unsupported.') {
- span.append(t('core', 'The update was unsuccessful. For more information check our forum post covering this issue.', {'url': 'https://help.nextcloud.com/t/updates-between-multiple-major-versions-are-unsupported/7094'}));
+ updateUnsuccessful.append(t('core', 'The update was unsuccessful. For more information check our forum post covering this issue.', {'url': 'https://help.nextcloud.com/t/updates-between-multiple-major-versions-are-unsupported/7094'}));
} else {
- span.append(t('core', 'The update was unsuccessful. ' +
+ updateUnsuccessful.append(t('core', 'The update was unsuccessful. ' +
'Please report this issue to the ' +
'Nextcloud community.'));
}
- span.appendTo($el);
+ updateUnsuccessful.appendTo($el);
});
updateEventSource.listen('done', function() {
$(window).off('beforeunload.inprogress');
@@ -123,9 +122,7 @@
setMessage: function(message) {
$('#update-progress-message').html(message);
$('#update-progress-detailed')
- .append($(''))
- .append(message)
- .append($(' ' + message + ' ' + message + ' ' + message + '
'));
+ .append('').append(message));
$('#update-progress-detailed')
- .append($(''))
- .append(message)
- .append($('
'));
+ .append('
'));
+ .append('
- t( 'Detailed logs' )); ?>
+ t( 'Detailed logs' )); ?>