From 348f4491ff3171d06888a868b22868ce2b8b1eab Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 8 Jan 2017 11:29:41 -0500 Subject: Make icons clickable in menus --- app/Template/task_file/files.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Template/task_file/files.php') 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 @@
  • - - url->link(t('Download'), 'FileViewerController', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + url->icon('download', t('Download'), 'FileViewerController', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
  • user->hasProjectAccess('TaskFileController', 'remove', $task['project_id'])): ?>
  • -- cgit v1.2.3