aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notifications.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-05 08:46:42 +0000
committerMario <mario@mariovavti.com>2020-11-05 08:46:42 +0000
commitbafbf0416462c6f18c3fb6c8c06a063c8d6fdae6 (patch)
tree8929845be585b09d0f420621281c5531e1efad3e /Zotlabs/Widget/Notifications.php
parent6f93d9848c43019d43ea76c27d42d657ba031cd7 (diff)
parentfdefa101d84dc2a9424eaedbdb003a4c30ec5d01 (diff)
downloadvolse-hubzilla-bafbf0416462c6f18c3fb6c8c06a063c8d6fdae6.tar.gz
volse-hubzilla-bafbf0416462c6f18c3fb6c8c06a063c8d6fdae6.tar.bz2
volse-hubzilla-bafbf0416462c6f18c3fb6c8c06a063c8d6fdae6.zip
Merge branch '5.0RC'5.0
Diffstat (limited to 'Zotlabs/Widget/Notifications.php')
-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',