preview images in taskview

This commit is contained in:
BlueTeck
2015-03-02 22:40:09 +01:00
parent da425e4187
commit 88ba0c0953
6 changed files with 149 additions and 22 deletions

View File

@@ -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']),