wekan/client/components/notifications/notifications.jade

6 lines
325 B
Text

template(name='notifications')
#notifications.board-header-btns.right
a.notifications-drawer-toggle(class="{{#if $gt unreadNotifications 0}}alert{{/if}}" title="{{_ 'notifications'}}")
i.fa.fa-bell
if $.Session.get 'showNotificationsDrawer'
+notificationsDrawer(unreadNotifications=unreadNotifications)