aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Notifications.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index 077949b4e..e2a543f80 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -28,6 +28,7 @@ class Notifications {
]
];
+
$notifications[] = [
'type' => 'home',
'icon' => 'home',
@@ -48,6 +49,25 @@ class Notifications {
];
$notifications[] = [
+ 'type' => 'dm',
+ 'icon' => 'envelope',
+ 'severity' => 'danger',
+ 'label' => t('New Direct Messages'),
+ 'title' => t('New Direct Messages Notifications'),
+ 'viewall' => [
+ 'url' => 'network/?dm=1',
+ 'label' => t('View your direct messages')
+ ],
+ 'markall' => [
+ 'label' => t('Mark all notifications read')
+ ],
+ 'filter' => [
+ 'posts_label' => t('Show new posts only'),
+ 'name_label' => t('Filter by name or address')
+ ]
+ ];
+
+ $notifications[] = [
'type' => 'mail',
'icon' => 'envelope',
'severity' => 'danger',