improve html for listing errors

This commit is contained in:
Uwe Steinmann 2023-01-03 16:58:40 +01:00
parent a8ccf1669b
commit 51d8ebbf60

View File

@ -165,7 +165,7 @@ function check_queue() {
else
$('#status_'+data.data).html('<?= getMLText('index_done').' ('.getMLText('index_no_content').')' ?>');
} else {
$('#update_messages').append('<div><p><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong></p>' + '<p>Cmd: ' + data.cmd + '</p>' + data.message+'</div>');
$('#update_messages').append('<div><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong><br />' + 'Cmd: ' + data.cmd + '<br />' + data.message+'</div>');
$('#status_'+data.data).html('<?= getMLText('index_error') ?>');
noty({
text: '<p><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong></p>' + '<p>Cmd: ' + data.cmd + '</p>' + data.message,