From d2c0148c7f5ef780722b0004e95a1ff3fcc904aa Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 27 Feb 2017 08:58:10 +0100 Subject: [PATCH 1/2] add output of workflow log --- .../bootstrap/class.DocumentVersionDetail.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/views/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index dca652f1d..d1f0a84bf 100644 --- a/views/bootstrap/class.DocumentVersionDetail.php +++ b/views/bootstrap/class.DocumentVersionDetail.php @@ -381,6 +381,25 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style { print "\n\n"; $this->contentContainerEnd(); + $wkflogs = $version->getWorkflowLog(); + if($wkflogs) { + $this->contentHeading(getMLText("workflow_summary")); + $this->contentContainerStart(); + echo ""; + echo "\n"; + echo ""; + foreach($wkflogs as $wkflog) { + echo ""; + echo ""; + echo ""; + $loguser = $wkflog->getUser(); + echo ""; + echo ""; + echo ""; + } + print "\n
".getMLText('date')."".getMLText('action')."".getMLText('user')."".getMLText('comment')."
".$wkflog->getDate()."".$wkflog->getTransition()->getAction()->getName()."".$loguser->getFullName()."".$wkflog->getComment()."
\n"; + $this->contentContainerEnd(); + } ?>
Date: Mon, 27 Feb 2017 08:58:40 +0100 Subject: [PATCH 2/2] add entry for 4.3.33 --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index 56bbc5720..7ae653ab3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,7 @@ - new calendar - move folder/document properly checks for access right if done by drag and drop (Closes #309) +- show workflow log on document details page -------------------------------------------------------------------------------- Changes in version 4.3.32