summaryrefslogtreecommitdiff
path: root/app/Template/task_file/files.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 11:29:41 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 11:29:41 -0500
commit348f4491ff3171d06888a868b22868ce2b8b1eab (patch)
tree6ecaaa8f139a17b634d992675b8aad23434d84a5 /app/Template/task_file/files.php
parentfebb9ade5bc6f4f11f98bc029ffe325fa6717f8f (diff)
Make icons clickable in menus
Diffstat (limited to 'app/Template/task_file/files.php')
-rw-r--r--app/Template/task_file/files.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/task_file/files.php b/app/Template/task_file/files.php
index ffebdb84..28633dc4 100644
--- a/app/Template/task_file/files.php
+++ b/app/Template/task_file/files.php
@@ -24,8 +24,7 @@
</li>
<?php endif ?>
<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>