fix nesting of containers

This commit is contained in:
Uwe Steinmann 2023-04-24 16:58:30 +02:00
parent a9f88c7191
commit b7c9ecf162

View File

@ -492,8 +492,8 @@ console.log(params);
} }
$this->warningMsg(getMLText("add_doc_workflow_warning")); $this->warningMsg(getMLText("add_doc_workflow_warning"));
} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') { } elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
if($workflowmode == 'traditional') {
$this->contentContainerEnd(); $this->contentContainerEnd();
if($workflowmode == 'traditional') {
$this->contentSubHeading(getMLText("assign_reviewers")); $this->contentSubHeading(getMLText("assign_reviewers"));
$this->contentContainerStart(); $this->contentContainerStart();
@ -697,11 +697,10 @@ console.log(params);
} }
} }
} }
$this->contentContainerEnd();
$this->warningMsg(getMLText("add_doc_reviewer_approver_warning")); $this->warningMsg(getMLText("add_doc_reviewer_approver_warning"));
} else { } else {
$this->contentContainerEnd();
} }
$this->contentContainerEnd();
$this->columnEnd(); $this->columnEnd();
$this->rowEnd(); $this->rowEnd();
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('add_document')); $this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('add_document'));