* Code for task#693.

This commit is contained in:
chencongzhi520@gmail.com
2012-06-14 02:14:36 +00:00
parent 2d00396157
commit 55a8e375c6
4 changed files with 37 additions and 13 deletions
+5
View File
@@ -227,6 +227,11 @@ class testtask extends control
$this->view->runs = $this->testtask->getUserRuns($taskID, $this->session->user->account, $pager);
}
/* Save testcaseIDs session for get the pre and next testcase. */
$testcaseIDs = '';
foreach($this->view->runs as $run) $testcaseIDs .= ',' . $run->case;
$this->session->set('testcaseIDs', $testcaseIDs . ',');
$this->view->header['title'] = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->cases;
$this->view->position[] = html::a($this->createLink('testtask', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->position[] = $this->lang->testtask->cases;