* resolved a bug. when activating a bug, it should list out the editions it affected.

This commit is contained in:
liukmqd@gmail.com
2011-04-27 09:55:40 +00:00
parent 41a0793a87
commit 1cac260989
2 changed files with 6 additions and 6 deletions

View File

@@ -526,14 +526,14 @@ class bug extends control
$productID = $bug->product;
$this->bug->setMenu($this->products, $productID);
$this->view->header->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->activate;
$this->view->header->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->activate;
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->position[] = $this->lang->bug->activate;
$this->view->bug = $bug;
$this->view->users = $this->user->getPairs('nodeleted');
$this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID);
$this->view->actions = $this->action->getList('bug', $bugID);
$this->view->bug = $bug;
$this->view->users = $this->user->getPairs('nodeleted');
$this->view->openedBuilds = $this->loadModel('build')->getProductBuildPairs($productID, 'noempty');
$this->view->actions = $this->action->getList('bug', $bugID);
$this->display();
}