* Adjust codes.
This commit is contained in:
@@ -51,13 +51,14 @@ class testsuite extends control
|
||||
|
||||
/* Append id for secend sort. */
|
||||
$sort = $this->loadModel('common')->appendOrder($orderBy);
|
||||
$productName = isset($this->products[$productID]) ? $this->products[$productID] : '';
|
||||
|
||||
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testsuite->common;
|
||||
$this->view->position[] = html::a($this->createLink('testsuite', 'browse', "productID=$productID"), $this->products[$productID]);
|
||||
$this->view->title = $productName . $this->lang->testsuite->common;
|
||||
$this->view->position[] = html::a($this->createLink('testsuite', 'browse', "productID=$productID"), $productName);
|
||||
$this->view->position[] = $this->lang->testsuite->common;
|
||||
|
||||
$this->view->productID = $productID;
|
||||
$this->view->productName = $this->products[$productID];
|
||||
$this->view->productName = $productName;
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->suites = $this->testsuite->getSuites($productID, $sort, $pager);
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');
|
||||
|
||||
Reference in New Issue
Block a user