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 +-- app/Template/task_file/images.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'app/Template/task_file') 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'])): ?>
  • 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 @@ text->e($file['name']) ?>