diff options
author | Mario <mario@mariovavti.com> | 2020-10-19 08:44:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-19 08:44:44 +0000 |
commit | cef0c2ebb2b16b006eca7dce8ec0b1a95d916dba (patch) | |
tree | 906d6b166fcd716af6b21455070bbd63b99e8b1b /Zotlabs | |
parent | 5e0f5460f2ee92aecc53fd900e55d54fa5326fc5 (diff) | |
download | volse-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.php | 4 |
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; |