* Finish task #36445.
This commit is contained in:
@@ -1459,6 +1459,7 @@ class story extends control
|
||||
{
|
||||
$this->session->set('storyList', $this->app->getURI(true), 'product');
|
||||
$products = $this->product->getPairs();
|
||||
if(empty($productID)) $productID = key($products);
|
||||
|
||||
$this->loadModel('testcase');
|
||||
if($this->app->openApp == 'project')
|
||||
@@ -1466,6 +1467,8 @@ class story extends control
|
||||
$this->loadModel('project')->setMenu($this->session->project);
|
||||
$this->app->rawModule = 'qa';
|
||||
$this->lang->project->menu->qa['subMenu']->testcase['subModule'] = 'story';
|
||||
$products = $this->project->getProducts($this->session->project, false);
|
||||
$this->lang->modulePageNav = $this->product->select($products, $productID, 'story', 'zeroCase');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -191,6 +191,13 @@ class testcase extends control
|
||||
$this->app->loadLang('testtask');
|
||||
|
||||
$this->app->openApp == 'project' ? $this->loadModel('project')->setMenu($this->session->project) : $this->testcase->setMenu($this->products, $productID, $branch);
|
||||
if($this->app->openApp == 'project')
|
||||
{
|
||||
$products = array('0' => $this->lang->product->all) + $this->project->getProducts($this->session->project, false);
|
||||
$this->lang->modulePageNav = $this->product->select($products, $productID, 'testcase', 'groupCase', '', $branch);
|
||||
}
|
||||
|
||||
|
||||
$this->session->set('caseList', $this->app->getURI(true), 'qa');
|
||||
|
||||
$cases = $this->testcase->getModuleCases($productID, $branch, 0, $groupBy);
|
||||
|
||||
@@ -24,6 +24,11 @@ js::set('productID', $productID);
|
||||
js::set('branch', $branch);
|
||||
js::set('suiteID', $suiteID);
|
||||
?>
|
||||
<?php if($this->app->openApp == 'project'): ?>
|
||||
<style>
|
||||
#subHeader #dropMenu .col-left .list-group {margin-bottom: 0px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<div id="mainContent" class="main-row fade">
|
||||
<div class='side-col' id='sidebar'>
|
||||
<div class="sidebar-toggle"><i class="icon icon-angle-left"></i></div>
|
||||
|
||||
Reference in New Issue
Block a user