aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 12:18:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 12:18:15 +1300
commit984feba192d0b347b99c550009ec6fd078728ca2 (patch)
tree6021b9a4b56866951a024b739732846d83235d2c /web/app/view
parent20d2bd13b0039e994ba9515d3d49e88079123470 (diff)
downloadtraccar-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.gz
traccar-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.bz2
traccar-server-984feba192d0b347b99c550009ec6fd078728ca2.zip
Add twelve hour format preference
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ServerDialog.js5
-rw-r--r--web/app/view/UserDialog.js5
2 files changed, 10 insertions, 0 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 9fbbed920..67f3a7ab2 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -79,6 +79,11 @@ Ext.define('Traccar.view.ServerDialog', {
xtype: 'numberfield',
name: 'zoom',
fieldLabel: Strings.serverZoom
+ }, {
+ xtype: 'checkboxfield',
+ name: 'twelveHourFormat',
+ fieldLabel: Strings.settingsTwelveHourFormat,
+ allowBlank: false
}]
}
});
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index c1ed2fece..d0e8bda52 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -84,6 +84,11 @@ Ext.define('Traccar.view.UserDialog', {
xtype: 'numberfield',
name: 'zoom',
fieldLabel: Strings.serverZoom
+ }, {
+ xtype: 'checkboxfield',
+ name: 'twelveHourFormat',
+ fieldLabel: Strings.settingsTwelveHourFormat,
+ allowBlank: false
}]
}
});