diff options
Diffstat (limited to 'app/Template/header.php')
-rw-r--r-- | app/Template/header.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/header.php b/app/Template/header.php index 0bcfdbbc..19ffbbf5 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -25,6 +25,10 @@ </li> <?php endif ?> <li> + <?php if ($this->user->hasNotifications()): ?> + <?= $this->url->link('<i class="fa fa-bell web-notification-icon"></i>', 'app', 'notifications', array('user_id' => $this->user->getId()), false, '', t('Unread notifications')) ?> + <?php endif ?> + <?= $this->url->link(t('Logout'), 'auth', 'logout') ?> <span class="username hide-tablet">(<?= $this->user->getProfileLink() ?>)</span> </li> |