<ng-template ngbNavContent>
<h3 class="mb-3">Trigger Event Environment</h3>
<eg-grid #envGrid idlClass="atenv" [dataSource]="envDataSource"
- showFields="path,collector,label"
+ showFields="path,collector,label" persistKey="admin.local.triggers.atenv"
(onRowActivate)="editSelected([$event])">
<eg-grid-toolbar-button label="New Environment" i18n-label
[action]="createNewEnv"></eg-grid-toolbar-button>
<ng-template ngbNavContent>
<h3 class="mb-3">Trigger Event Parameters</h3>
<eg-grid #paramGrid idlClass="atevparam" [dataSource]="paramDataSource"
+ persistKey="admin.local.triggers.atevparam"
showFields="param,value" (onRowActivate)="editSelected([$event])">
<eg-grid-toolbar-button label="New Parameter" i18n-label
[action]="createNewParam"></eg-grid-toolbar-button>
<h4 class="mb-3 mt-3">Trigger Event Definitions</h4>
<eg-grid #eventsGrid idlClass="atevdef" [dataSource]="eventsDataSource"
showFields="owner,name,hook,active,delay,delay_field,group_field,reactor,validator,repeat_delay,granularity,retention_interval"
- [showLinkSelectors]="true" [sortable]="true" [stickyHeader]="true"
+ [showLinkSelectors]="true" [sortable]="true" [stickyHeader]="true" persistKey="admin.local.triggers.atevdef"
(onRowActivate)="editSelected([$event])" [filterable]="true">
<eg-grid-toolbar-button label="New Event Definition" i18n-label
[action]="createNewEvent"></eg-grid-toolbar-button>
),
'bool'
);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+ 'eg.grid.admin.local.triggers.atevdef', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atevdef',
+ 'Grid Config: eg.grid.admin.local.triggers.atevdef',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.grid.admin.local.triggers.atenv', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atenv',
+ 'Grid Config: eg.grid.admin.local.triggers.atenv',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.grid.admin.local.triggers.atevparam', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atevparam',
+ 'Grid Config: eg.grid.admin.local.triggers.atevparam',
+ 'cwst', 'label'
+ )
+);
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+ 'eg.grid.admin.local.triggers.atevdef', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atevdef',
+ 'Grid Config: eg.grid.admin.local.triggers.atevdef',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.grid.admin.local.triggers.atenv', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atenv',
+ 'Grid Config: eg.grid.admin.local.triggers.atenv',
+ 'cwst', 'label'
+ )
+), (
+ 'eg.grid.admin.local.triggers.atevparam', 'gui', 'object',
+ oils_i18n_gettext(
+ 'eg.grid.admin.local.triggers.atevparam',
+ 'Grid Config: eg.grid.admin.local.triggers.atevparam',
+ 'cwst', 'label'
+ )
+);
+
+COMMIT;