diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-05-10 14:11:22 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-05-10 14:11:22 -0700 |
commit | ecc9d80671fdfd4434ac7ecf3113507e6a06da64 (patch) | |
tree | 0ac26c4855812450bfd2ea664c6d50f44727de9a /app/Template/project_overview | |
parent | 56c2a6e5433819449f2b08c334f9e9992a68d65f (diff) |
Add link to open images in a new tab
Diffstat (limited to 'app/Template/project_overview')
-rw-r--r-- | app/Template/project_overview/images.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/project_overview/images.php b/app/Template/project_overview/images.php index bc356fc2..dea26eb7 100644 --- a/app/Template/project_overview/images.php +++ b/app/Template/project_overview/images.php @@ -19,6 +19,9 @@ <a href="#" class="dropdown-menu dropdown-menu-link-text"><?= $this->text->e($file['name']) ?> <i class="fa fa-caret-down"></i></a> <ul> <li> + <?= $this->url->icon('external-link', t('View file'), 'FileViewerController', 'image', array('project_id' => $project['id'], 'file_id' => $file['id']), false, '', '', true) ?> + </li> + <li> <?= $this->url->icon('download', t('Download'), 'FileViewerController', 'download', array('project_id' => $project['id'], 'file_id' => $file['id'])) ?> </li> <?php if ($this->user->hasProjectAccess('ProjectFileController', 'remove', $project['id'])): ?> |