mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
put reviewer and approver into own content container
This commit is contained in:
parent
476c726a45
commit
23a94f8ac8
|
@ -446,7 +446,6 @@ console.log(params);
|
|||
echo $arrs;
|
||||
}
|
||||
|
||||
$this->contentContainerEnd();
|
||||
if($workflowmode == 'advanced') {
|
||||
$mandatoryworkflows = $user->getMandatoryWorkflows();
|
||||
if($mandatoryworkflows) {
|
||||
|
@ -494,6 +493,7 @@ console.log(params);
|
|||
$this->warningMsg(getMLText("add_doc_workflow_warning"));
|
||||
} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
if($workflowmode == 'traditional') {
|
||||
$this->contentContainerEnd();
|
||||
$this->contentSubHeading(getMLText("assign_reviewers"));
|
||||
$this->contentContainerStart();
|
||||
|
||||
|
@ -699,6 +699,8 @@ console.log(params);
|
|||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->warningMsg(getMLText("add_doc_reviewer_approver_warning"));
|
||||
} else {
|
||||
$this->contentContainerEnd();
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
|
|
|
@ -329,10 +329,13 @@ console.log(element);
|
|||
)
|
||||
);
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->warningMsg(getMLText("add_doc_workflow_warning"));
|
||||
} elseif($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') {
|
||||
if($workflowmode == 'traditional') {
|
||||
$this->contentContainerEnd();
|
||||
$this->contentSubHeading(getMLText("assign_reviewers"));
|
||||
$this->contentContainerStart();
|
||||
$res=$user->getMandatoryReviewers();
|
||||
$options = array();
|
||||
foreach ($docAccess["users"] as $usr) {
|
||||
|
@ -480,9 +483,11 @@ console.log(element);
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
}
|
||||
|
||||
$this->contentSubHeading(getMLText("assign_approvers"));
|
||||
$this->contentContainerStart();
|
||||
$options = array();
|
||||
$res=$user->getMandatoryApprovers();
|
||||
foreach ($docAccess["users"] as $usr) {
|
||||
|
@ -631,9 +636,11 @@ console.log(element);
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->warningMsg(getMLText("add_doc_reviewer_approver_warning"));
|
||||
} else {
|
||||
$this->contentContainerEnd();
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit(getMLText('update_document'));
|
||||
?>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue
Block a user