aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/permissions/Geofences.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-19 20:50:54 +1300
committerGitHub <noreply@github.com>2018-03-19 20:50:54 +1300
commit4e7d2b8fdb41390205d69997d61db536545f5564 (patch)
treeaa8355566da6cf6064b4119c07ecc39feae326d7 /web/app/view/permissions/Geofences.js
parent464aa58c49ac5e04d419a68b6ee5bcf9d0c36798 (diff)
parentebccd5864e93312321c0226d603e453f6cdeec25 (diff)
downloadtrackermap-web-4e7d2b8fdb41390205d69997d61db536545f5564.tar.gz
trackermap-web-4e7d2b8fdb41390205d69997d61db536545f5564.tar.bz2
trackermap-web-4e7d2b8fdb41390205d69997d61db536545f5564.zip
Merge pull request #655 from Abyss777/calendar_column
Add Calendar column to some grids
Diffstat (limited to 'web/app/view/permissions/Geofences.js')
-rw-r--r--web/app/view/permissions/Geofences.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/web/app/view/permissions/Geofences.js b/web/app/view/permissions/Geofences.js
index efdf18da..e2e85a36 100644
--- a/web/app/view/permissions/Geofences.js
+++ b/web/app/view/permissions/Geofences.js
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2018 Anton Tananaev (anton@traccar.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,6 +26,18 @@ Ext.define('Traccar.view.permissions.Geofences', {
flex: 1,
minWidth: Traccar.Style.columnWidthNormal,
filter: 'string'
+ }, {
+ text: Strings.sharedCalendar,
+ dataIndex: 'calendarId',
+ flex: 1,
+ minWidth: Traccar.Style.columnWidthNormal,
+ hidden: true,
+ filter: {
+ type: 'list',
+ labelField: 'name',
+ store: 'AllCalendars'
+ },
+ renderer: Traccar.AttributeFormatter.getFormatter('calendarId')
}]
}
});