show finished workflow only in advanced workflow mode

This commit is contained in:
Uwe Steinmann 2024-01-31 07:37:54 +01:00
parent 4e63fd2ecf
commit f14617b3c6

View File

@ -1046,7 +1046,7 @@ $(document).ready( function() {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
if(!$workflow) { if($workflowmode == 'advanced' && !$workflow) {
if($accessobject->check_view_access($this, array('action'=>'finished_workflowlog'))) { if($accessobject->check_view_access($this, array('action'=>'finished_workflowlog'))) {
$wkfalllogs = $latestContent->getWorkflowLog(); $wkfalllogs = $latestContent->getWorkflowLog();
if($wkfalllogs) { if($wkfalllogs) {