diff --git a/module/todo/control.php b/module/todo/control.php index 06b55c6080..75ec16b32b 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -400,7 +400,7 @@ class todo extends control } $projects = $this->loadModel('project')->getPairs(); - if(!isset($this->session->project)) $this->session->set('project', key($projects)); + if(!isset($this->session->PRJ)) $this->session->set('project', key($projects)); $this->view->title = $this->app->user->account == $todo->account ? "{$this->lang->todo->common} #$todo->id $todo->name" : $this->lang->todo->common ; $this->view->position[] = $this->lang->todo->view; @@ -411,9 +411,9 @@ class todo extends control $this->view->actions = $this->loadModel('action')->getList('todo', $todoID); $this->view->from = $from; $this->view->projects = $projects; - $this->view->executions = $this->loadModel('execution')->getPairs($this->session->project); + $this->view->executions = $this->loadModel('execution')->getPairs($this->session->PRJ); $this->view->products = $this->loadModel('product')->getPairs(); - $this->view->projectProducts = $this->loadModel('product')->getProductPairsByProject($this->session->project); + $this->view->projectProducts = $this->loadModel('product')->getProductPairsByProject($this->session->PRJ); $this->display(); } diff --git a/module/tree/control.php b/module/tree/control.php index 3a071bfcf4..0989edf5ba 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -98,7 +98,7 @@ class tree extends control if($from == 'project') { $this->lang->navGroup->tree = 'project'; - $productPairs = $this->product->getProductPairsByProject($this->session->project); + $productPairs = $this->product->getProductPairsByProject($this->session->PRJ); } elseif($from == 'qa') { @@ -141,7 +141,7 @@ class tree extends control if($from == 'project') { $this->lang->navGroup->tree = 'project'; - $productPairs = $this->product->getProductPairsByProject($this->session->project); + $productPairs = $this->product->getProductPairsByProject($this->session->PRJ); } elseif($from == 'qa') { @@ -210,7 +210,7 @@ class tree extends control $this->lang->tree->menuOrder = $this->lang->project->menuOrder; /* The project parameter needs to be present when the tree module belongs to the project grouping. */ - if($this->session->docList && $this->session->project && strpos($this->session->docList, 'project') === false) $this->session->set('docList', $this->session->docList . '?project=' . $this->session->project); + if($this->session->docList && $this->session->PRJ && strpos($this->session->docList, 'project') === false) $this->session->set('docList', $this->session->docList . '?project=' . $this->session->PRJ); } if($from == 'doc') $this->lang->navGroup->doc = 'doc'; @@ -226,7 +226,7 @@ class tree extends control } elseif($viewType == 'line') { - $products = $this->product->getPairs('', $this->session->project); + $products = $this->product->getPairs('', $this->session->PRJ); $this->lang->set('menugroup.tree', 'product'); $this->product->setMenu($products, $rootID, $branch, 'line', '', 'line'); @@ -306,7 +306,7 @@ class tree extends control $products = $this->execution->getProducts($rootID); $this->view->products = $products; - $executions = $this->execution->getPairs($this->session->project); + $executions = $this->execution->getPairs($this->session->PRJ); /* Set menu. */ $this->lang->set('menugroup.tree', 'execution'); diff --git a/module/tree/model.php b/module/tree/model.php index df186b2660..dc77e215a2 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -875,7 +875,7 @@ class treeModel extends model * @access public * @return string */ - public function createProjectStoryLink($type, $module, $extra) + public function createExecutionStoryLink($type, $module, $extra) { $executionID = $extra['executionID']; $productID = $extra['productID']; diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 7b4ed7f719..d590325307 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -51,8 +51,8 @@ a.showMoreImage:hover {opacity: 1;} .chosen-container .chosen-drop{z-index: 1100;} -.table-actions .btn{border: 1px solid #1183fb; color: #1183fb} -.table-actions .btn:hover{background: #b3d4fc} +.table-actions .btn {background: #78bdf5; color: #fff; border-color: #78bdf5} +.table-footer .checked+div .btn, .table-actions .btn:hover {background: #16a8f8; border-color: #16a8f8} #header #toolbar a{color: #fff; font-size: 13px; line-height: 15px; border: #84a2e2 1px solid} #header #toolbar i{font-size: 16px;}