optical changes in Workflow

This commit is contained in:
Frank Schubert
2021-08-26 19:02:24 +02:00
parent 351b8aa8b1
commit df127c08d9
8 changed files with 89 additions and 23 deletions

View File

@@ -35,6 +35,23 @@ class PipeworkController extends mfBaseController {
}
}
$building = reset(reset($networks));
$item_colspan = 0;
$i = 0;
//var_dump($building->workflowitems);exit;
foreach($building->workflowitems as $wfitem) {
if($i == 0 && $wfitem->type == "delimiter") continue;
if($wfitem->type == "delimiter") {
$item_colspan = $i;
break;
}
$i++;
}
//var_dump($item_colspan);exit;
$this->layout()->set("building_wf_colspan", $item_colspan);
$this->layout()->set("networks", $networks);
//var_dump(reset(reset($networks))->workflowitems);exit;
// get delimiter count, to adjust rowspan