From ebccd5864e93312321c0226d603e453f6cdeec25 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 19 Mar 2018 12:34:49 +0500 Subject: Add Calendar column to some grids --- web/app/view/edit/Notifications.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'web/app/view/edit/Notifications.js') diff --git a/web/app/view/edit/Notifications.js b/web/app/view/edit/Notifications.js index e17100a4..36206825 100644 --- a/web/app/view/edit/Notifications.js +++ b/web/app/view/edit/Notifications.js @@ -1,6 +1,6 @@ /* - * Copyright 2017 Anton Tananaev (anton@traccar.org) - * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org) + * Copyright 2017 - 2018 Anton Tananaev (anton@traccar.org) + * Copyright 2017 - 2018 Andrey Kunitsyn (andrey@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 @@ -74,6 +74,16 @@ Ext.define('Traccar.view.edit.Notifications', { dataIndex: 'sms', renderer: Traccar.AttributeFormatter.getFormatter('sms'), filter: 'boolean' + }, { + text: Strings.sharedCalendar, + dataIndex: 'calendarId', + hidden: true, + filter: { + type: 'list', + labelField: 'name', + store: 'AllCalendars' + }, + renderer: Traccar.AttributeFormatter.getFormatter('calendarId') }] } }); -- cgit v1.2.3