summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorTimo Litzbarski <tili2@gmx.de>2016-03-07 12:53:30 +0000
committerTimo Litzbarski <tili2@gmx.de>2016-03-07 12:53:30 +0000
commitf43f29930692ebb944f2574916f2b54fff9985c1 (patch)
tree68116cd056a251cd9b3ca339bb9f89e913544c3c /app/Template
parent65ded5a49e6a151e8e6fec3a43e3fef2680bed5c (diff)
Fix File Tooltip #1960
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/tooltip_files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/tooltip_files.php b/app/Template/board/tooltip_files.php
index 39823757..8ee18626 100644
--- a/app/Template/board/tooltip_files.php
+++ b/app/Template/board/tooltip_files.php
@@ -8,9 +8,9 @@
</tr>
<tr>
<td>
- <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'TaskFile', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
+ <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'FileViewer', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
<?php if ($file['is_image'] == 1): ?>
- &nbsp;<i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'TaskFile', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
+ &nbsp;<i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'FileViewer', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
<?php endif ?>
</td>
</tr>