* change testlib to caselib.
This commit is contained in:
@@ -49,7 +49,7 @@ class tree extends control
|
||||
$lib = $this->doc->getLibById($rootID);
|
||||
$this->view->root = $lib;
|
||||
}
|
||||
elseif(strpos($viewType, 'testlib') !== false)
|
||||
elseif(strpos($viewType, 'caselib') !== false)
|
||||
{
|
||||
$this->loadModel('testsuite');
|
||||
$lib = $this->testsuite->getById($rootID);
|
||||
@@ -97,16 +97,16 @@ class tree extends control
|
||||
$position[] = html::a($this->createLink('testcase', 'browse', "product=$rootID"), $product->name);
|
||||
$position[] = $this->lang->tree->manageCase;
|
||||
}
|
||||
elseif($viewType == 'testlib')
|
||||
elseif($viewType == 'caselib')
|
||||
{
|
||||
$this->testsuite->setLibMenu($this->testsuite->getLibraries(), $rootID);
|
||||
$this->lang->tree->menu = $this->lang->testsuite->menu;
|
||||
$this->lang->tree->menuOrder = $this->lang->testsuite->menuOrder;
|
||||
$this->lang->set('menugroup.tree', 'qa');
|
||||
|
||||
$title = $lib->name . $this->lang->colon . $this->lang->tree->manageTestLib;
|
||||
$title = $lib->name . $this->lang->colon . $this->lang->tree->manageCaseLib;
|
||||
$position[] = html::a($this->createLink('testsuite', 'library', "libID=$rootID"), $lib->name);
|
||||
$position[] = $this->lang->tree->manageTestLib;
|
||||
$position[] = $this->lang->tree->manageCaseLib;
|
||||
}
|
||||
elseif(strpos($viewType, 'doc') !== false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user