mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 14:20:15 +01:00
add a notification drawer like trello
This commit is contained in:
parent
29d62440a5
commit
9819c9f801
20 changed files with 701 additions and 257 deletions
16
client/components/notifications/notificationsDrawer.jade
Normal file
16
client/components/notifications/notificationsDrawer.jade
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
template(name='notificationsDrawer')
|
||||
section#notifications-drawer(class="{{#if $.Session.get 'showReadNotifications'}}show-read{{/if}}")
|
||||
.header
|
||||
if $.Session.get 'showReadNotifications'
|
||||
a.toggle-read Filter by Unread
|
||||
else
|
||||
a.toggle-read View All
|
||||
h5 Notifications
|
||||
if($gt unreadNotifications 0)
|
||||
|(#{unreadNotifications})
|
||||
a.fa.fa-times-thin.close
|
||||
ul.notifications
|
||||
each transformedProfile.notifications
|
||||
+notification(activityData=activity index=dbIndex read=read)
|
||||
if($gt unreadNotifications 0)
|
||||
a.all-read Mark all as read
|
||||
Loading…
Add table
Add a link
Reference in a new issue