From 274b412718b81deba404a1d10ae83d5d3c82238a Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 20 Feb 2017 14:03:47 +0500 Subject: Add SMS to notifications and phone to user --- web/app/view/DeviceDialog.js | 2 +- web/app/view/Notifications.js | 7 +++++++ web/app/view/UserDialog.js | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'web/app/view') diff --git a/web/app/view/DeviceDialog.js b/web/app/view/DeviceDialog.js index 960b3f9b..57820695 100644 --- a/web/app/view/DeviceDialog.js +++ b/web/app/view/DeviceDialog.js @@ -43,7 +43,7 @@ Ext.define('Traccar.view.DeviceDialog', { }, { xtype: 'textfield', name: 'phone', - fieldLabel: Strings.devicePhone + fieldLabel: Strings.sharedPhone }, { xtype: 'textfield', name: 'model', diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js index 8f6ca484..0f6552a7 100644 --- a/web/app/view/Notifications.js +++ b/web/app/view/Notifications.js @@ -59,6 +59,13 @@ Ext.define('Traccar.view.Notifications', { listeners: { checkChange: 'onCheckChange' } + }, { + text: Strings.notificationSms, + dataIndex: 'sms', + xtype: 'checkcolumn', + listeners: { + checkChange: 'onCheckChange' + } }] } }); diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 34c3b4a1..84103ee2 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -42,6 +42,10 @@ Ext.define('Traccar.view.UserDialog', { fieldLabel: Strings.userPassword, inputType: 'password', allowBlank: false + }, { + xtype: 'textfield', + name: 'phone', + fieldLabel: Strings.sharedPhone }, { xtype: 'checkboxfield', inputValue: true, -- cgit v1.2.3