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

@@ -33,16 +33,14 @@
<?php if ($project['is_public']): ?>
<li>
<small>
<i class="fa fa-external-link fa-fw"></i>
<?= $this->url->link(t('Public link'), 'TaskViewController', 'readonly', array('task_id' => $task['id'], 'token' => $project['token']), false, '', '', true) ?>
<?= $this->url->icon('external-link', t('Public link'), 'TaskViewController', 'readonly', array('task_id' => $task['id'], 'token' => $project['token']), false, '', '', true) ?>
</small>
</li>
<?php endif ?>
<?php if ($project['is_public'] && !$editable): ?>
<li>
<small>
<i class="fa fa-th fa-fw"></i>
<?= $this->url->link(t('Back to the board'), 'BoardViewController', 'readonly', array('token' => $project['token'])) ?>
<?= $this->url->icon('th', t('Back to the board'), 'BoardViewController', 'readonly', array('token' => $project['token'])) ?>
</small>
</li>
<?php endif ?>