mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-09 10:32:40 +00:00
check for workflow and workflowstate
This commit is contained in:
parent
0cc4fccd7f
commit
40f410a762
|
@ -2868,7 +2868,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
$content .= count($links)."/".count($revlinks)." ".getMLText("linked_documents")."<br />";
|
$content .= count($links)."/".count($revlinks)." ".getMLText("linked_documents")."<br />";
|
||||||
if($status["status"] == S_IN_WORKFLOW && $workflowmode == 'advanced') {
|
if($status["status"] == S_IN_WORKFLOW && $workflowmode == 'advanced') {
|
||||||
$workflowstate = $latestContent->getWorkflowState();
|
$workflowstate = $latestContent->getWorkflowState();
|
||||||
$content .= '<span title="'.getOverallStatusText($status["status"]).': '.htmlspecialchars($workflow->getName()).'">'.htmlspecialchars($workflowstate->getName()).'</span>';
|
$content .= '<span title="'.getOverallStatusText($status["status"]).': '.($workflow ? htmlspecialchars($workflow->getName()) : '').'">'.($workflowstate ? htmlspecialchars($workflowstate->getName()) : '').'</span>';
|
||||||
} else {
|
} else {
|
||||||
$content .= getOverallStatusText($status["status"]);
|
$content .= getOverallStatusText($status["status"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user