summaryrefslogtreecommitdiffstats
path: root/client/components/notifications/notificationsDrawer.jade
diff options
context:
space:
mode:
authorJonathan Baird <jonathan@smithbox.com>2020-04-08 13:14:29 -0600
committerJonathan Baird <jonathan@smithbox.com>2020-04-08 13:14:29 -0600
commita182dde11ff4f1ab8cd01a04e1e26affda5d8a3b (patch)
tree7d7cfc1f610e1ec24a04e8d4497da8a06c47b1f1 /client/components/notifications/notificationsDrawer.jade
parent1e20e2601fa9c2951d811861ff97f3f555aac6af (diff)
downloadwekan-a182dde11ff4f1ab8cd01a04e1e26affda5d8a3b.tar.gz
wekan-a182dde11ff4f1ab8cd01a04e1e26affda5d8a3b.tar.bz2
wekan-a182dde11ff4f1ab8cd01a04e1e26affda5d8a3b.zip
add a "remove all read" button to notification menu
Diffstat (limited to 'client/components/notifications/notificationsDrawer.jade')
-rw-r--r--client/components/notifications/notificationsDrawer.jade4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/notifications/notificationsDrawer.jade b/client/components/notifications/notificationsDrawer.jade
index 01117009..fee6aef6 100644
--- a/client/components/notifications/notificationsDrawer.jade
+++ b/client/components/notifications/notificationsDrawer.jade
@@ -14,3 +14,7 @@ template(name='notificationsDrawer')
+notification(activityData=activity index=dbIndex read=read)
if($gt unreadNotifications 0)
a.all-read {{_ 'mark-all-as-read'}}
+ if ($and ($.Session.get 'showReadNotifications') ($gt readNotifications 0))
+ a.remove-read
+ i.fa.fa-trash
+ | {{_ 'remove-all-read'}}