blob: 036fee2936b4aa14dde1faeec8f45ab1f09e4bfd (
plain)
1
2
3
4
5
6
7
|
<span class="notification">
<?php if ($this->user->hasNotifications()): ?>
<?= $this->modal->mediumIcon('bell web-notification-icon', t('Unread notifications'), 'WebNotificationController', 'show', array('user_id' => $this->user->getId())) ?>
<?php else: ?>
<?= $this->modal->mediumIcon('bell', t('My notifications'), 'WebNotificationController', 'show', array('user_id' => $this->user->getId())) ?>
<?php endif ?>
</span>
|