diff --git a/module/execution/control.php b/module/execution/control.php index b620b81181..922df1037f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1548,6 +1548,7 @@ class execution extends control $this->view->executionName = $execution->name; $this->view->executionID = $executionID; $this->view->chartData = $chartData; + $this->view->features = $this->execution->getExecutionFeatures($execution); $this->view->begin = $begin; $this->view->end = $end; $this->view->minDate = $minDate; @@ -2590,6 +2591,7 @@ class execution extends control $this->view->chartData = $chartData; $this->view->canBeChanged = common::canModify('execution', $execution); // Determines whether an object is editable. $this->view->type = $type; + $this->view->features = $this->execution->getExecutionFeatures($execution); $this->view->project = $this->loadModel('project')->getByID($execution->project); $this->display(); diff --git a/module/execution/view/cfd.html.php b/module/execution/view/cfd.html.php index 527631a655..af900fad3d 100644 --- a/module/execution/view/cfd.html.php +++ b/module/execution/view/cfd.html.php @@ -33,11 +33,11 @@ $weekend = $withWeekend == 'true' ? 'noweekend' : 'withweekend'; echo html::a('#', $lang->execution->$weekend, '', "class='btn btn-link' id='weekend'"); ?> - lifetime != 'ops' and !in_array($execution->attribute, array('request', 'review'))):?> + execution->cfdTypeList['story']);?> + execution->cfdTypeList['bug']);?>
execution->cfdTypeList, $type, "class='form-control chosen'");?>
-
diff --git a/module/execution/view/view.html.php b/module/execution/view/view.html.php index 3273c180a6..684954cf4f 100644 --- a/module/execution/view/view.html.php +++ b/module/execution/view/view.html.php @@ -420,14 +420,13 @@ - lifetime == 'ops' or in_array($execution->attribute, array('request', 'review'))):?> - - - + + +
task->common;?>taskCount;?> story->common;?> storyCount;?> task->common;?> taskCount;?> bug->common;?> bugCount;?>