From 87d2c6d99e6eb26b526f5da22b3496e3d02d11ed Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 26 Mar 2015 22:40:46 -0400 Subject: Add task transitions history --- app/Controller/Task.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app/Controller') diff --git a/app/Controller/Task.php b/app/Controller/Task.php index ace40a01..64017582 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -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']), + ))); + } } -- cgit v1.2.3