Add task transitions history

This commit is contained in:
Frederic Guillot
2015-03-26 22:40:46 -04:00
parent 93fa9b5cba
commit 87d2c6d99e
29 changed files with 291 additions and 22 deletions

View File

@@ -526,4 +526,19 @@ class Task extends Base
'subtask_paginator' => $subtask_paginator,
)));
}
/**
* Display the task transitions
*
* @access public
*/
public function transitions()
{
$task = $this->getTask();
$this->response->html($this->taskLayout('task/transitions', array(
'task' => $task,
'transitions' => $this->transition->getAllByTask($task['id']),
)));
}
}