diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-13 17:50:20 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-13 17:50:20 -0500 |
commit | 364382b1b58db8bf1bd2c8866e21c869a7a5d6d0 (patch) | |
tree | e1bdaf8c76bbb6036b3bb7a3a19e8cc1e2e99604 /app/Controller/Board.php | |
parent | 124f7cad284d7ce867666def5731ad34a9265e63 (diff) |
Add task links (Merge pull-request #610)
Diffstat (limited to 'app/Controller/Board.php')
-rw-r--r-- | app/Controller/Board.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Controller/Board.php b/app/Controller/Board.php index e859348e..ae249982 100644 --- a/app/Controller/Board.php +++ b/app/Controller/Board.php @@ -402,6 +402,20 @@ class Board extends Base } /** + * Get links on mouseover + * + * @access public + */ + public function tasklinks() + { + $task = $this->getTask(); + $this->response->html($this->template->render('board/tasklinks', array( + 'links' => $this->taskLink->getAll($task['id']), + 'task' => $task, + ))); + } + + /** * Get subtasks on mouseover * * @access public |