From d72422eb36c31618311ff9ce71ed86a5bf6e95e6 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 19 Dec 2022 16:00:28 +0100 Subject: [PATCH] add second column with error messages --- views/bootstrap/class.Indexer.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Indexer.php b/views/bootstrap/class.Indexer.php index 34b5435f5..4ac0b3cf5 100644 --- a/views/bootstrap/class.Indexer.php +++ b/views/bootstrap/class.Indexer.php @@ -165,6 +165,7 @@ function check_queue() { else $('#status_'+data.data).html(''); } else { + $('#update_messages').append('

Docid: ' + data.data + ' (' + data.mimetype + ')

' + '

Cmd: ' + data.cmd + '

' + data.message+'
'); $('#status_'+data.data).html(''); noty({ text: '

Docid: ' + data.data + ' (' + data.mimetype + ')

' + '

Cmd: ' + data.cmd + '

' + data.message, @@ -218,6 +219,8 @@ $(document).ready( function() { $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); + $this->rowStart(); + $this->columnStart(6); $this->contentHeading(getMLText("update_fulltext_index")); if($fulltextservice) { $index = $fulltextservice->Indexer(); @@ -230,7 +233,6 @@ div.folder {font-weight: bold; line-height: 20px; margin-top: 10px;} .progress {margin-bottom: 2px;} .bar-legend {text-align: right; font-size: 85%; margin-bottom: 15px;} -
@@ -247,7 +249,13 @@ div.folder {font-weight: bold; line-height: 20px; margin-top: 10px;} $folderprocess = new SeedDMS_View_Indexer_Process_Folder($fulltextservice, $forceupdate); call_user_func(array($folderprocess, 'process'), $folder, -1); $tree = new SeedDMS_FolderTree($folder, array($folderprocess, 'process')); - echo "
"; + $this->columnEnd(); + $this->columnStart(6); + $this->contentHeading(getMLText("update_fulltext_messages")); + echo '
'; + echo '
'; + $this->columnEnd(); + $this->rowEnd(); $index->commit(); $index->optimize();