* Finish task#45004.
This commit is contained in:
@@ -551,7 +551,7 @@ class testtask extends control
|
||||
$this->view->runs = $runs;
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noclosed|qafirst|noletter');
|
||||
$this->view->assignedToList = $assignedToList;
|
||||
$this->view->moduleTree = $this->loadModel('tree')->getTreeMenu($productID, $viewType = 'case', $startModuleID = 0, array('treeModel', 'createTestTaskLink'), $extra = $taskID);
|
||||
$this->view->moduleTree = $this->loadModel('tree')->getTreeMenu($productID, $viewType = 'case', $startModuleID = 0, array('treeModel', 'createTestTaskLink'), $extra = $taskID, $task->branch);
|
||||
$this->view->browseType = $browseType;
|
||||
$this->view->param = $param;
|
||||
$this->view->orderBy = $orderBy;
|
||||
|
||||
@@ -16,3 +16,5 @@ td .warning {color: red;}
|
||||
|
||||
.fail .result-fail, .blocked .result-blocked {color: #f00;}
|
||||
.pass .result-pass {color: green;}
|
||||
|
||||
.tree li > a.active {color: #0c64eb;}
|
||||
|
||||
@@ -397,7 +397,7 @@ class treeModel extends model
|
||||
{
|
||||
$branchName = $this->branch->getById($branch);
|
||||
$branches = array($branch => $branchName);
|
||||
$extra = array('rootID' => $rootID, 'branch' => $branch);
|
||||
$extra = $userFunc[1] == 'createTestTaskLink' ? $extra : array('rootID' => $rootID, 'branch' => $branch);
|
||||
}
|
||||
|
||||
$manage = $userFunc[1] == 'createManageLink' ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user