diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 11:29:41 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 11:29:41 -0500 |
commit | 348f4491ff3171d06888a868b22868ce2b8b1eab (patch) | |
tree | 6ecaaa8f139a17b634d992675b8aad23434d84a5 /app/Template/user_view | |
parent | febb9ade5bc6f4f11f98bc029ffe325fa6717f8f (diff) |
Make icons clickable in menus
Diffstat (limited to 'app/Template/user_view')
-rw-r--r-- | app/Template/user_view/layout.php | 4 | ||||
-rw-r--r-- | app/Template/user_view/share.php | 4 | ||||
-rw-r--r-- | app/Template/user_view/show.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/user_view/layout.php b/app/Template/user_view/layout.php index 4f0eca94..c126ad89 100644 --- a/app/Template/user_view/layout.php +++ b/app/Template/user_view/layout.php @@ -3,7 +3,7 @@ <?php if ($this->user->hasAccess('UserCreationController', 'show')): ?> <ul> <li> - <i class="fa fa-user fa-fw"></i><?= $this->url->link(t('All users'), 'UserListController', 'show') ?> + <?= $this->url->icon('user', t('All users'), 'UserListController', 'show') ?> </li> <li> <?= $this->modal->medium('plus', t('New local user'), 'UserCreationController', 'show') ?> @@ -15,7 +15,7 @@ <?= $this->modal->medium('upload', t('Import'), 'UserImportController', 'show') ?> </li> <li> - <i class="fa fa-users fa-fw"></i><?= $this->url->link(t('View all groups'), 'GroupListController', 'index') ?> + <?= $this->url->icon('users', t('View all groups'), 'GroupListController', 'index') ?> </li> </ul> <?php endif ?> diff --git a/app/Template/user_view/share.php b/app/Template/user_view/share.php index 570b766e..614f058a 100644 --- a/app/Template/user_view/share.php +++ b/app/Template/user_view/share.php @@ -5,8 +5,8 @@ <?php if (! empty($user['token'])): ?> <div class="listing"> <ul class="no-bullet"> - <li><strong><i class="fa fa-rss-square"></i> <?= $this->url->link(t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> - <li><strong><i class="fa fa-calendar"></i> <?= $this->url->link(t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> + <li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> + <li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> </ul> </div> <?= $this->url->link(t('Disable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'disable'), true, 'btn btn-red') ?> diff --git a/app/Template/user_view/show.php b/app/Template/user_view/show.php index 2f5a73af..456f57ac 100644 --- a/app/Template/user_view/show.php +++ b/app/Template/user_view/show.php @@ -42,8 +42,8 @@ <div class="listing"> <ul class="no-bullet"> - <li><strong><i class="fa fa-rss-square"></i> <?= $this->url->link(t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> - <li><strong><i class="fa fa-calendar"></i> <?= $this->url->link(t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> + <li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> + <li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li> </ul> </div> <?php endif ?> |