aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notifications.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-01 23:22:52 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-01 23:22:52 +0200
commit53efd4e470f10e123209ed63b90213b20a87e011 (patch)
tree6a65af68db1553329313b293af51ddb7d72e14b3 /Zotlabs/Widget/Notifications.php
parent22a9e4c9a9e4a48f644deed0432dc05a7e5b189c (diff)
downloadvolse-hubzilla-53efd4e470f10e123209ed63b90213b20a87e011.tar.gz
volse-hubzilla-53efd4e470f10e123209ed63b90213b20a87e011.tar.bz2
volse-hubzilla-53efd4e470f10e123209ed63b90213b20a87e011.zip
unread forum notifications - wip/unfinished
Diffstat (limited to 'Zotlabs/Widget/Notifications.php')
-rw-r--r--Zotlabs/Widget/Notifications.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php
index fc78a2a39..1be467ba6 100644
--- a/Zotlabs/Widget/Notifications.php
+++ b/Zotlabs/Widget/Notifications.php
@@ -111,6 +111,21 @@ class Notifications {
'label' => t('Mark all notices seen')
]
];
+
+ $notifications[] = [
+ 'type' => 'forums',
+ 'icon' => 'comments-o',
+ 'severity' => 'secondary',
+ 'label' => t('Forums'),
+ 'title' => t('Forums'),
+ 'viewall' => [
+ //'url' => 'notifications/system',
+ //'label' => t('View all notices')
+ ],
+ 'markall' => [
+ //'label' => t('Mark all notices seen')
+ ]
+ ];
}
if(local_channel() && is_site_admin()) {