mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
16 lines
609 B
Text
16 lines
609 B
Text
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
|