* code for task#2155.

This commit is contained in:
xia0ta0
2014-12-12 14:36:07 +08:00
parent 65dd7aada9
commit c34d2e4a3b
2 changed files with 7 additions and 2 deletions

View File

@@ -376,10 +376,15 @@ class testcase extends control
$position[] = $this->lang->testcase->common;
$position[] = $this->lang->testcase->batchCreate;
$story = $storyID ? $this->story->getByID($storyID) : '';
$storyList = $storyID ? array($storyID => $story->id . ':' . $story->title . '(' . $this->lang->story->pri . ':' .
$story->pri . ',' . $this->lang->story->estimate . ':' . $story->estimate . ')') : array();
$this->view->title = $title;
$this->view->position = $position;
$this->view->productID = $productID;
$this->view->story = $storyID ? $this->story->getByID($storyID) : '';
$this->view->story = $story;
$this->view->storyList = $storyList;
$this->view->productName = $this->products[$productID];
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'case', $startModuleID = 0);
$this->view->currentModuleID = $currentModuleID;