diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-04-12 18:44:42 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-04-12 18:44:42 -0400 |
commit | 3b403a1a4b33443ee853556e40d4fe89d3399387 (patch) | |
tree | 3b3105c3a83b00fd7bda76aeda4ddde788e9d663 /app/Controller/Board.php | |
parent | 2a150dd3be96692a98c034233a9ae29ff6f219ac (diff) |
Add screenshot support for tasks (copy/paste images directly)
Diffstat (limited to 'app/Controller/Board.php')
-rw-r--r-- | app/Controller/Board.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Controller/Board.php b/app/Controller/Board.php index 89272393..d9243633 100644 --- a/app/Controller/Board.php +++ b/app/Controller/Board.php @@ -335,4 +335,19 @@ class Board extends Base $this->response->redirect($this->helper->url('board', 'show', array('project_id' => $values['project_id']))); } + + /** + * Screenshot popover + * + * @access public + */ + public function screenshot() + { + $task = $this->getTask(); + + $this->response->html($this->template->render('file/screenshot', array( + 'task' => $task, + 'redirect' => 'board', + ))); + } } |