aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/interface.js
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-11-10 17:12:41 -0500
committerB. Stack <bgstack15@gmail.com>2023-11-10 17:12:41 -0500
commit6bb4b9a5600dc7278acee769f3dc4a6be0296229 (patch)
tree6e49d1f702b332a65957e3c239062a2f342f30b6 /radicale_infcloud/web/interface.js
parentadd build-rpm.sh (diff)
downloadradicaleinfcloud-6bb4b9a5600dc7278acee769f3dc4a6be0296229.tar.gz
radicaleinfcloud-6bb4b9a5600dc7278acee769f3dc4a6be0296229.tar.bz2
radicaleinfcloud-6bb4b9a5600dc7278acee769f3dc4a6be0296229.zip
add desktop notifications
Use the calendar color for the icon, if it is defined. Event-specific color is not supported at this time.
Diffstat (limited to 'radicale_infcloud/web/interface.js')
-rw-r--r--radicale_infcloud/web/interface.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/radicale_infcloud/web/interface.js b/radicale_infcloud/web/interface.js
index 7f7304b..d98860d 100644
--- a/radicale_infcloud/web/interface.js
+++ b/radicale_infcloud/web/interface.js
@@ -1215,6 +1215,7 @@ function showAlertEvents(inputUID, realDelay, alarmObject)
timeString=' - '+timeS;
}
+ SendColorizedNotification(alarmObject.title,timeString,img_cal,"",alarmObject.color);
$('#alertBoxContent').append("<div class='alert_item'><img src='images/calendarB.svg' alt='Calendar'/><label>"+alarmObject.title+dateString+timeString+"</label></div>");
}
}
bgstack15