* Adjust codes.

This commit is contained in:
daitingting
2017-05-09 15:39:48 +08:00
parent ea576aec26
commit 21a2c8bd8b
+4 -3
View File
@@ -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');