+ add resolvedDate of bug.

+ add finishedDate of task.
This commit is contained in:
areyou123456
2012-06-27 09:12:00 +00:00
parent 6a9ed1f067
commit 2f1565b882
5 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -531,7 +531,6 @@ class bug extends control
public function resolve($bugID)
{
$this->view->users = $this->user->getPairs('nodeleted');
if(!empty($_POST))
{
$this->bug->resolve($bugID);
@@ -556,6 +555,7 @@ class bug extends control
$this->view->header['title'] = $this->products[$productID] . $this->lang->colon . $this->lang->bug->resolve;
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->position[] = $this->lang->bug->resolve;
$this->view->date = strftime("%Y-%m-%d %X", strtotime('now'));
$this->view->bug = $bug;
$this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID);