Interactive interface for browsing global, full-resolution satellite imagery
Add background color to unseen messages
ZachTRicee28a32e5e0a3
diff --git a/web/css/alert.css b/web/css/alert.cssindex eb18a69ff..ff32e801e 100644--- a/web/css/alert.css+++ b/web/css/alert.css@@ -88,6 +88,10 @@background: rgba(229, 201, 55, 0.3);}+.wv-notify-modal .message h2 {+ background: rgba(64, 169, 219, 0.3);+}+.wv-notify-modal h2 span {font-size: 13px;font-weight: 300;diff --git a/web/js/notifications/ui.js b/web/js/notifications/ui.jsindex 62c4f53f8..ecfdd53b6 100644--- a/web/js/notifications/ui.js+++ b/web/js/notifications/ui.js@@ -79,7 +79,7 @@ export function notificationsUi(models, config) {if (message && !objectAlreadySeen(message)) {priority = 'message';mainNotification = 'message';- activeNotifications.messages = message.created_at;+ activeNotifications.message = message.created_at;}if (alert && !objectAlreadySeen(alert)) {@@ -307,8 +307,8 @@ export function notificationsUi(models, config) {localStorage.setItem('alert', activeNotifications.alert);}- if (activeNotifications.messages) {- localStorage.setItem('message', activeNotifications.messages);+ if (activeNotifications.message) {+ localStorage.setItem('message', activeNotifications.message);}activeNotifications = {};