summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorBlueTeck <tili2@gmx.de>2015-03-02 22:40:09 +0100
committerBlueTeck <tili2@gmx.de>2015-03-02 22:40:09 +0100
commit88ba0c0953395e18dbdd871e96831d885f59740c (patch)
tree4597134cb25382c6671990fb8923701298724203 /app/Controller
parentda425e4187e5e8e7feb9783c9d75bcaa9fa0c7ec (diff)
preview images in taskview
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Task.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php
index 741db61e..d94c5908 100644
--- a/app/Controller/Task.php
+++ b/app/Controller/Task.php
@@ -68,7 +68,8 @@ class Task extends Base
$this->response->html($this->taskLayout('task/show', array(
'project' => $this->project->getById($task['project_id']),
- 'files' => $this->file->getAll($task['id']),
+ 'files' => $this->file->getAllDocuments($task['id']),
+ 'images' => $this->file->getAllImages($task['id']),
'comments' => $this->comment->getAll($task['id']),
'subtasks' => $subtasks,
'links' => $this->taskLink->getLinks($task['id']),