summaryrefslogtreecommitdiff
path: root/app/Template/header/user_notifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/header/user_notifications.php')
-rw-r--r--app/Template/header/user_notifications.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Template/header/user_notifications.php b/app/Template/header/user_notifications.php
new file mode 100644
index 00000000..83c545d2
--- /dev/null
+++ b/app/Template/header/user_notifications.php
@@ -0,0 +1,5 @@
+<?php if ($this->user->hasNotifications()): ?>
+ <span class="notification">
+ <?= $this->url->link('<i class="fa fa-bell web-notification-icon"></i>', 'DashboardController', 'notifications', array('user_id' => $this->user->getId()), false, '', t('Unread notifications')) ?>
+ </span>
+<?php endif ?>