aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-19 08:44:44 +0000
committerMario <mario@mariovavti.com>2020-10-19 08:44:44 +0000
commitcef0c2ebb2b16b006eca7dce8ec0b1a95d916dba (patch)
tree906d6b166fcd716af6b21455070bbd63b99e8b1b /Zotlabs
parent5e0f5460f2ee92aecc53fd900e55d54fa5326fc5 (diff)
downloadvolse-hubzilla-cef0c2ebb2b16b006eca7dce8ec0b1a95d916dba.tar.gz
volse-hubzilla-cef0c2ebb2b16b006eca7dce8ec0b1a95d916dba.tar.bz2
volse-hubzilla-cef0c2ebb2b16b006eca7dce8ec0b1a95d916dba.zip
highlight events for today in notifications and remove some redundant css
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Enotify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 03a824b9b..c78325ee3 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -966,8 +966,8 @@ class Enotify {
'url' => $rr['xchan_url'],
'photo' => $rr['xchan_photo_s'],
'when' => $when,
- 'hclass' => ('notify-unseen'),
- 'message' => t('posted an event')
+ 'hclass' => (($today) ? 'notify-unseen bg-warning' : 'notify-unseen'),
+ 'message' => t('created an event')
];
return $x;