diff --git a/frappe/public/images/ui-states/event-empty-state.svg b/frappe/public/images/ui-states/event-empty-state.svg new file mode 100644 index 0000000000..18ac2100fe --- /dev/null +++ b/frappe/public/images/ui-states/event-empty-state.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/frappe/public/images/ui-states/notification-empty-state.svg b/frappe/public/images/ui-states/notification-empty-state.svg new file mode 100644 index 0000000000..498636be21 --- /dev/null +++ b/frappe/public/images/ui-states/notification-empty-state.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/frappe/public/js/frappe/ui/notifications/notifications.js b/frappe/public/js/frappe/ui/notifications/notifications.js index 5abd36b15a..9e71a16274 100644 --- a/frappe/public/js/frappe/ui/notifications/notifications.js +++ b/frappe/public/js/frappe/ui/notifications/notifications.js @@ -457,9 +457,12 @@ class EventsView extends BaseNotificaitonsView { }; html = event_list.map(get_event_html).join(''); } else { - html = `
  • - ${__('No Events Today')} -
  • `; + html = ` +
    + + ${__('No Events Today')} +
    + `; } this.container.html(html);