+ Add a module label to the task name according to the display setting.
This commit is contained in:
@@ -167,7 +167,9 @@ class execution extends control
|
||||
if(isset($branchGroups[$task->product][$task->branch])) $task->branch = $branchGroups[$task->product][$task->branch];
|
||||
}
|
||||
|
||||
$showModule = empty($this->config->execution->task->allModule) ? '' : 'allModule';
|
||||
$showAllModule = empty($this->config->execution->task->allModule) ? '' : 'allModule';
|
||||
$showModule = !empty($this->config->execution->task->showModule) ? $this->config->execution->task->showModule : '';
|
||||
|
||||
$this->view->title = $execution->name . $this->lang->colon . $this->lang->execution->task;
|
||||
$this->view->tasks = $tasks;
|
||||
$this->view->pager = $pager;
|
||||
@@ -176,7 +178,8 @@ class execution extends control
|
||||
$this->view->status = $status;
|
||||
$this->view->param = $param;
|
||||
$this->view->moduleID = $moduleID;
|
||||
$this->view->modules = $this->loadModel('tree')->getTaskOptionMenu($executionID, 0, $showModule);
|
||||
$this->view->modules = $this->loadModel('tree')->getTaskOptionMenu($executionID, 0, $showAllModule);
|
||||
$this->view->modulePairs = $this->tree->getModulePairs($executionID, 'task', $showModule);
|
||||
$this->view->moduleTree = $this->tree->getTaskTreeMenu($executionID, $productID, 0, array('treeModel', 'createTaskLink'), $showModule);
|
||||
$this->view->memberPairs = $memberPairs;
|
||||
$this->display();
|
||||
|
||||
Reference in New Issue
Block a user