Merge pull-request #746

This commit is contained in:
Frederic Guillot
2015-03-30 21:38:23 -04:00
4 changed files with 90 additions and 0 deletions

View File

@@ -84,6 +84,22 @@ class Task extends Base
)));
}
/**
* Display task activities
*
* @access public
*/
public function activites()
{
$task = $this->getTask();
$this->response->html($this->taskLayout('task/events', array(
'title' => $task['title'],
'task' => $task,
'ajax' => $this->request->isAjax(),
'events' => $this->projectActivity->getTasks([$task['id']]),
)));
}
/**
* Display a form to create a new task
*