* code for task#1376.

This commit is contained in:
zhujinyong
2013-06-17 05:48:13 +00:00
parent fbfa983537
commit 15f720464c
4 changed files with 29 additions and 5 deletions
+2 -1
View File
@@ -95,7 +95,7 @@ class task extends control
$stories = $this->story->getProjectStoryPairs($projectID);
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted');
$contactLists = $this->user->getContactLists($this->app->user->account, 'withnote');
$moduleOptionMenu = $this->tree->getTaskOptionMenu($projectID, $viewType = 'task');
$moduleOptionMenu = $this->tree->getTaskOptionMenu($projectID);
$title = $project->name . $this->lang->colon . $this->lang->task->create;
$position[] = html::a($taskLink, $project->name);
@@ -392,6 +392,7 @@ class task extends control
$this->view->actions = $this->loadModel('action')->getList('task', $taskID);
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->preAndNext = $this->loadModel('common')->getPreAndNextObject('task', $taskID);
$this->view->product = $this->tree->getProduct($task->module);
$this->view->modulePath = $this->tree->getParents($task->module);
$this->display();
}