diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 11:29:41 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 11:29:41 -0500 |
commit | 348f4491ff3171d06888a868b22868ce2b8b1eab (patch) | |
tree | 6ecaaa8f139a17b634d992675b8aad23434d84a5 /app/Template/task_file/images.php | |
parent | febb9ade5bc6f4f11f98bc029ffe325fa6717f8f (diff) |
Make icons clickable in menus
Diffstat (limited to 'app/Template/task_file/images.php')
-rw-r--r-- | app/Template/task_file/images.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/task_file/images.php b/app/Template/task_file/images.php index e3599441..33a31ba8 100644 --- a/app/Template/task_file/images.php +++ b/app/Template/task_file/images.php @@ -19,8 +19,7 @@ <a href="#" class="dropdown-menu dropdown-menu-link-text"><?= $this->text->e($file['name']) ?> <i class="fa fa-caret-down"></i></a> <ul> <li> - <i class="fa fa-download fa-fw"></i> - <?= $this->url->link(t('Download'), 'FileViewerController', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + <?= $this->url->icon('download', t('Download'), 'FileViewerController', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> </li> <?php if ($this->user->hasProjectAccess('TaskFileController', 'remove', $task['project_id'])): ?> <li> |