diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/project_overview/images.php | 1 | ||||
-rw-r--r-- | app/Template/task_file/images.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/project_overview/images.php b/app/Template/project_overview/images.php index cdaba44a..3b575d3f 100644 --- a/app/Template/project_overview/images.php +++ b/app/Template/project_overview/images.php @@ -9,6 +9,7 @@ 'url' => array( 'image' => $this->url->to('FileViewerController', 'image', array('file_id' => 'FILE_ID', 'project_id' => $project['id'])), 'thumbnail' => $this->url->to('FileViewerController', 'thumbnail', array('file_id' => 'FILE_ID', 'project_id' => $project['id'])), + 'download' => $this->url->to('FileViewerController', 'download', array('file_id' => 'FILE_ID', 'project_id' => $project['id'])), ) )) ?> diff --git a/app/Template/task_file/images.php b/app/Template/task_file/images.php index efe18d03..8be89274 100644 --- a/app/Template/task_file/images.php +++ b/app/Template/task_file/images.php @@ -9,6 +9,7 @@ 'url' => array( 'image' => $this->url->to('FileViewerController', 'image', array('file_id' => 'FILE_ID', 'project_id' => $task['project_id'], 'task_id' => $task['id'])), 'thumbnail' => $this->url->to('FileViewerController', 'thumbnail', array('file_id' => 'FILE_ID', 'project_id' => $task['project_id'], 'task_id' => $task['id'])), + 'download' => $this->url->to('FileViewerController', 'download', array('file_id' => 'FILE_ID', 'project_id' => $task['project_id'], 'task_id' => $task['id'])), ) )) ?> |