Make icons clickable in menus

This commit is contained in:
Frederic Guillot
2017-01-08 11:29:41 -05:00
parent febb9ade5b
commit 348f4491ff
48 changed files with 144 additions and 185 deletions

View File

@@ -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>