aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-27 22:16:50 +1300
committerGitHub <noreply@github.com>2017-02-27 22:16:50 +1300
commita540844ff9195716a188124960ee57bac6680ce0 (patch)
tree729c61be0b309cb8e0d0d12e8dbe65df535ad00a /web/app/model
parent66171b939e4d20ecae0014bb61862e1880e9c6c5 (diff)
parent274b412718b81deba404a1d10ae83d5d3c82238a (diff)
downloadetbsa-traccar-web-a540844ff9195716a188124960ee57bac6680ce0.tar.gz
etbsa-traccar-web-a540844ff9195716a188124960ee57bac6680ce0.tar.bz2
etbsa-traccar-web-a540844ff9195716a188124960ee57bac6680ce0.zip
Merge pull request #415 from Abyss777/sms_notifications
Add SMS to notifications and phone to user dialog
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Notification.js3
-rw-r--r--web/app/model/User.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js
index 54f6674..3ae13c0 100644
--- a/web/app/model/Notification.js
+++ b/web/app/model/Notification.js
@@ -36,5 +36,8 @@ Ext.define('Traccar.model.Notification', {
}, {
name: 'mail',
type: 'bool'
+ }, {
+ name: 'sms',
+ type: 'bool'
}]
});
diff --git a/web/app/model/User.js b/web/app/model/User.js
index df346ee..49400a3 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -32,6 +32,9 @@ Ext.define('Traccar.model.User', {
name: 'password',
type: 'string'
}, {
+ name: 'phone',
+ type: 'string'
+ }, {
name: 'readonly',
type: 'boolean'
}, {