diff options
author | B. Stack <bgstack15@gmail.com> | 2023-11-10 17:12:41 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-11-10 17:12:41 -0500 |
commit | 6bb4b9a5600dc7278acee769f3dc4a6be0296229 (patch) | |
tree | 6e49d1f702b332a65957e3c239062a2f342f30b6 /radicale_infcloud/web/interface.js | |
parent | add build-rpm.sh (diff) | |
download | radicaleinfcloud-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.js | 1 |
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>"); } } |