diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-01 21:00:39 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-01 21:00:39 +0100 |
commit | dcad9ce26a0de72ba3ad5b86ddb62298598ac380 (patch) | |
tree | 6d9a50ac71c4ee463a36f60401c703857620a52b /Zotlabs/Widget | |
parent | 3b6d7e306656f1263b80430fbcfdb413bf99ead9 (diff) | |
download | volse-hubzilla-dcad9ce26a0de72ba3ad5b86ddb62298598ac380.tar.gz volse-hubzilla-dcad9ce26a0de72ba3ad5b86ddb62298598ac380.tar.bz2 volse-hubzilla-dcad9ce26a0de72ba3ad5b86ddb62298598ac380.zip |
add a filter for notification to show new posts only
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Notifications.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php index 191f2afb6..450d3565e 100644 --- a/Zotlabs/Widget/Notifications.php +++ b/Zotlabs/Widget/Notifications.php @@ -20,8 +20,10 @@ class Notifications { 'label' => t('View your network activity') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all notifications read') + ], + 'filter' => [ + 'label' => t('Show new posts only') ] ]; @@ -36,8 +38,10 @@ class Notifications { 'label' => t('View your home activity') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all notifications seen') + ], + 'filter' => [ + 'label' => t('Show new posts only') ] ]; @@ -52,7 +56,6 @@ class Notifications { 'label' => t('View your private mails') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all messages seen') ] ]; @@ -68,7 +71,6 @@ class Notifications { 'label' => t('View events') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all events seen') ] ]; @@ -104,7 +106,6 @@ class Notifications { 'label' => t('View all notices') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all notices seen') ] ]; @@ -132,8 +133,10 @@ class Notifications { 'label' => t('View the public stream') ], 'markall' => [ - 'url' => '#', 'label' => t('Mark all notifications seen') + ], + 'filter' => [ + 'label' => t('Show new posts only') ] ]; } |