summaryrefslogtreecommitdiffstats
path: root/client/components/notifications/notifications.jade
diff options
context:
space:
mode:
authorJonathan Baird <jonathan@smithbox.com>2020-03-27 11:35:03 -0600
committerJonathan Baird <jonathan@smithbox.com>2020-03-27 11:35:03 -0600
commit9819c9f801128d07374b0703b482bdb83a672297 (patch)
treea132421f72031a26b346a96fd9a4615b2bca70c9 /client/components/notifications/notifications.jade
parent29d62440a5cf82b01de8183a384c6d7811abad81 (diff)
downloadwekan-9819c9f801128d07374b0703b482bdb83a672297.tar.gz
wekan-9819c9f801128d07374b0703b482bdb83a672297.tar.bz2
wekan-9819c9f801128d07374b0703b482bdb83a672297.zip
add a notification drawer like trello
Diffstat (limited to 'client/components/notifications/notifications.jade')
-rw-r--r--client/components/notifications/notifications.jade5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/components/notifications/notifications.jade b/client/components/notifications/notifications.jade
new file mode 100644
index 00000000..bf8acbbf
--- /dev/null
+++ b/client/components/notifications/notifications.jade
@@ -0,0 +1,5 @@
+template(name='notifications')
+ #notifications.board-header-btns.right
+ a.notifications-drawer-toggle.fa.fa-bell(class="{{#if $gt unreadNotifications 0}}alert{{/if}}")
+ if $.Session.get 'showNotificationsDrawer'
+ +notificationsDrawer(unreadNotifications=unreadNotifications)