From a25e7bd56c128fb2a1c673abf735b3e64706f9a8 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Sun, 26 Jun 2016 00:51:33 +0500 Subject: Added notifications via email Added notifications settings --- web/app/view/SettingsMenuController.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'web/app/view/SettingsMenuController.js') diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index 48ae60aa5..45b159ccb 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -25,6 +25,7 @@ Ext.define('Traccar.view.SettingsMenuController', { 'Traccar.view.Users', 'Traccar.view.Groups', 'Traccar.view.Geofences', + 'Traccar.view.Notifications', 'Traccar.view.BaseWindow' ], @@ -77,6 +78,18 @@ Ext.define('Traccar.view.SettingsMenuController', { }).show(); }, + onNotificationsClick: function () { + var user = Traccar.app.getUser(); + Ext.create('Traccar.view.BaseWindow', { + title: Strings.sharedNotifications, + modal: false, + items: { + xtype: 'notificationsView', + user: user + } + }).show(); + }, + onLogoutClick: function () { Ext.create('Traccar.view.LoginController').logout(); } -- cgit v1.2.3