summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-26 22:40:46 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-26 22:40:46 -0400
commit87d2c6d99e6eb26b526f5da22b3496e3d02d11ed (patch)
treeedb8ef750b85fda13ebb2c4f7089eef94328d0f1 /app/Controller
parent93fa9b5cba4bf343d3c5dd97420cea81beaf6e88 (diff)
Add task transitions history
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Task.php15
1 files changed, 15 insertions, 0 deletions
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']),
+ )));
+ }
}