summaryrefslogtreecommitdiff
path: root/app/Template/project_list
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/project_list
parentfebb9ade5bc6f4f11f98bc029ffe325fa6717f8f (diff)
Make icons clickable in menus
Diffstat (limited to 'app/Template/project_list')
-rw-r--r--app/Template/project_list/show.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php
index f8f5862c..92101429 100644
--- a/app/Template/project_list/show.php
+++ b/app/Template/project_list/show.php
@@ -3,10 +3,10 @@
<ul>
<?= $this->hook->render('template:project-list:menu:before') ?>
<?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?>
- <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li>
+ <li><?= $this->url->icon('user', t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li>
<?php endif ?>
<?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?>
- <li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li>
+ <li><?= $this->url->icon('sliders', t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li>
<?php endif ?>
<?= $this->hook->render('template:project-list:menu:after') ?>
</ul>