mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 14:41:39 +00:00
add symbols in front of states and actions in transittion list
This commit is contained in:
parent
b066edfaae
commit
424b1e1508
|
@ -177,14 +177,14 @@ $(document).ready(function() {
|
||||||
if(!$transusers && !$transgroups) {
|
if(!$transusers && !$transgroups) {
|
||||||
echo " class=\"error\"";
|
echo " class=\"error\"";
|
||||||
}
|
}
|
||||||
echo "><td>".$state->getName()."<br />";
|
echo "><td>".'<i class="icon-circle'.($workflow->getInitState()->getId() == $state->getId() ? ' initstate' : ' in-workflow').'"></i> '.$state->getName()."<br />";
|
||||||
echo $nextstate->getName();
|
|
||||||
$docstatus = $nextstate->getDocumentStatus();
|
$docstatus = $nextstate->getDocumentStatus();
|
||||||
|
echo '<i class="icon-circle'.($docstatus == S_RELEASED ? ' released' : ($docstatus == S_REJECTED ? ' rejected' : ' in-workflow')).'"></i> '.$nextstate->getName();
|
||||||
if($docstatus == S_RELEASED || $docstatus == S_REJECTED) {
|
if($docstatus == S_RELEASED || $docstatus == S_REJECTED) {
|
||||||
echo "<br /><i class=\"icon-arrow-right\"></i> ".getOverallStatusText($docstatus);
|
echo "<br /><i class=\"icon-arrow-right\"></i> ".getOverallStatusText($docstatus);
|
||||||
}
|
}
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td>".$action->getName()."</td>";
|
echo "<td><i class=\"icon-sign-blank workflow-action\"></i> ".$action->getName()."</td>";
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
foreach($transusers as $transuser) {
|
foreach($transusers as $transuser) {
|
||||||
$u = $transuser->getUser();
|
$u = $transuser->getUser();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user