aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-10 23:55:55 +1300
committerGitHub <noreply@github.com>2017-03-10 23:55:55 +1300
commitf9ffbdb72b00b157c0d66b46372f42f9a3ba0a18 (patch)
tree339b14dc4edf0d1ec9f0e94dc450f02beea531d3 /web/app/view
parent2e76f6cb4487a1efd3fbe168e6168f9ed5c2df47 (diff)
parent67b212ef70724d17d53fa4d68176548a257e710f (diff)
downloadtrackermap-web-f9ffbdb72b00b157c0d66b46372f42f9a3ba0a18.tar.gz
trackermap-web-f9ffbdb72b00b157c0d66b46372f42f9a3ba0a18.tar.bz2
trackermap-web-f9ffbdb72b00b157c0d66b46372f42f9a3ba0a18.zip
Merge pull request #424 from Abyss777/test_notification
Rename "Test Email" to "Test Notification"
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/SettingsMenuController.js2
-rw-r--r--web/app/view/UserDialog.js6
-rw-r--r--web/app/view/UserDialogController.js2
3 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 16813fa6..41867f61 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -63,7 +63,7 @@ Ext.define('Traccar.view.SettingsMenuController', {
onUserClick: function () {
var dialog = Ext.create('Traccar.view.UserDialog');
dialog.down('form').loadRecord(Traccar.app.getUser());
- dialog.lookupReference('testMailButton').setHidden(false);
+ dialog.lookupReference('testNotificationButton').setHidden(false);
dialog.show();
},
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 84103ee2..a024c856 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -192,10 +192,10 @@ Ext.define('Traccar.view.UserDialog', {
}, {
glyph: 'xf003@FontAwesome',
minWidth: 0,
- handler: 'testMail',
+ handler: 'testNotification',
hidden: true,
- reference: 'testMailButton',
- tooltip: Strings.sharedTestMail,
+ reference: 'testNotificationButton',
+ tooltip: Strings.sharedTestNotification,
tooltipType: 'title'
}, {
xtype: 'tbfill'
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index bfb934da..d187dec0 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -46,7 +46,7 @@ Ext.define('Traccar.view.UserDialogController', {
this.lookupReference('tokenField').setValue(newToken);
},
- testMail: function () {
+ testNotification: function () {
Ext.Ajax.request({
url: 'api/users/notifications/test',
method: 'POST',