mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Notifications: On verbosity of high, alert only if the message is unseen.
This commit is contained in:
parent
d9d051a97e
commit
172bda098e
@ -209,7 +209,10 @@ class notifications_ajax {
|
||||
$this->response->apply('app.notifications.bell', array('active'));
|
||||
break;
|
||||
case 'high':
|
||||
$this->response->alert(lang('EGroupware has notifications for you'));
|
||||
if (empty($notification['notify_status']) || $notification['notify_status'] === "UNSEEN")
|
||||
{
|
||||
$this->response->alert(lang('EGroupware has notifications for you'));
|
||||
}
|
||||
$this->response->apply('app.notifications.display');
|
||||
break;
|
||||
case 'medium':
|
||||
|
Loading…
Reference in New Issue
Block a user