From 0fb2ac2868335df0e3ea681ec855d72a98f8ee3e Mon Sep 17 00:00:00 2001 From: RudiThoeni Date: Tue, 23 Apr 2024 16:00:52 +0200 Subject: [PATCH] adding push button on each listview --- .../config/tourism/accommodation/accommodation.listView.ts | 3 ++- databrowser/src/config/tourism/article/article.listView.ts | 2 ++ .../src/config/tourism/district/district.listView.ts | 2 ++ databrowser/src/config/tourism/event/event.listView.ts | 2 ++ .../src/config/tourism/eventShort/eventShort.listView.ts | 2 ++ .../tourism/measuringPoint/measuringPoint.listView.ts | 4 ++++ .../src/config/tourism/metaRegion/metaRegion.listView.ts | 2 ++ .../config/tourism/municipality/municipality.listView.ts | 2 ++ databrowser/src/config/tourism/region/region.listView.ts | 2 ++ databrowser/src/config/tourism/skiArea/skiArea.listView.ts | 2 ++ .../src/config/tourism/skiRegion/skiRegion.listView.ts | 6 ++++-- .../tourismAssociationList.listView.ts | 2 ++ databrowser/src/config/tourism/venue/venue.listView.ts | 2 ++ .../src/config/tourism/webcamInfo/webcamInfo.listView.ts | 6 ++++-- .../src/config/tourism/wineAward/wineAward.listView.ts | 2 ++ 15 files changed, 36 insertions(+), 5 deletions(-) diff --git a/databrowser/src/config/tourism/accommodation/accommodation.listView.ts b/databrowser/src/config/tourism/accommodation/accommodation.listView.ts index 5103aa38b..451ec3800 100644 --- a/databrowser/src/config/tourism/accommodation/accommodation.listView.ts +++ b/databrowser/src/config/tourism/accommodation/accommodation.listView.ts @@ -8,7 +8,7 @@ import { imageTableCell, languageTableCell, lastChangesTableCell, - //locationTableCells, + pushDataTableCell, publishedOnTableCell, sourceTableCell, } from '../../builder/tourism'; @@ -61,5 +61,6 @@ export const accommodationListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/article/article.listView.ts b/databrowser/src/config/tourism/article/article.listView.ts index 4536a1d38..f3fcd5146 100644 --- a/databrowser/src/config/tourism/article/article.listView.ts +++ b/databrowser/src/config/tourism/article/article.listView.ts @@ -11,6 +11,7 @@ import { sourceTableCell, titleTableCell, publishedOnTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const articleListView: ListViewConfig = { @@ -48,5 +49,6 @@ export const articleListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/district/district.listView.ts b/databrowser/src/config/tourism/district/district.listView.ts index 1eef2c90c..f4b24dba2 100644 --- a/databrowser/src/config/tourism/district/district.listView.ts +++ b/databrowser/src/config/tourism/district/district.listView.ts @@ -10,6 +10,7 @@ import { publishedOnTableCell, sourceTableCell, titleTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const districtListView: ListViewConfig = { @@ -35,5 +36,6 @@ export const districtListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/event/event.listView.ts b/databrowser/src/config/tourism/event/event.listView.ts index 2bcaec2bd..81dc92584 100644 --- a/databrowser/src/config/tourism/event/event.listView.ts +++ b/databrowser/src/config/tourism/event/event.listView.ts @@ -9,6 +9,7 @@ import { languageTableCell, lastChangesTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, titleTableCell, } from '../../builder/tourism'; @@ -60,5 +61,6 @@ export const eventListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/eventShort/eventShort.listView.ts b/databrowser/src/config/tourism/eventShort/eventShort.listView.ts index 2f0d2831b..d4f4c2e46 100644 --- a/databrowser/src/config/tourism/eventShort/eventShort.listView.ts +++ b/databrowser/src/config/tourism/eventShort/eventShort.listView.ts @@ -8,6 +8,7 @@ import { languageTableCell, lastChangesTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, } from '../../builder/tourism'; import { DEFAULT_DATE_TIME_FORMAT } from '../../utils'; @@ -50,5 +51,6 @@ export const eventShortListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/measuringPoint/measuringPoint.listView.ts b/databrowser/src/config/tourism/measuringPoint/measuringPoint.listView.ts index 181280282..09e30469b 100644 --- a/databrowser/src/config/tourism/measuringPoint/measuringPoint.listView.ts +++ b/databrowser/src/config/tourism/measuringPoint/measuringPoint.listView.ts @@ -9,6 +9,8 @@ import { lastChangesTableCell, odhActiveTableCell, sourceTableCell, + publishedOnTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const measuringPointListView: ListViewConfig = { @@ -57,5 +59,7 @@ export const measuringPointListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), odhActiveTableCell(), + publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/metaRegion/metaRegion.listView.ts b/databrowser/src/config/tourism/metaRegion/metaRegion.listView.ts index 1db98f39e..6f6c899f4 100644 --- a/databrowser/src/config/tourism/metaRegion/metaRegion.listView.ts +++ b/databrowser/src/config/tourism/metaRegion/metaRegion.listView.ts @@ -8,6 +8,7 @@ import { languageTableCell, lastChangesTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, titleTableCell, } from '../../builder/tourism'; @@ -20,5 +21,6 @@ export const metaRegionListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/municipality/municipality.listView.ts b/databrowser/src/config/tourism/municipality/municipality.listView.ts index caa8b9a9b..879239bb1 100644 --- a/databrowser/src/config/tourism/municipality/municipality.listView.ts +++ b/databrowser/src/config/tourism/municipality/municipality.listView.ts @@ -11,6 +11,7 @@ import { publishedOnTableCell, sourceTableCell, titleTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const municipalityListView: ListViewConfig = { @@ -45,5 +46,6 @@ export const municipalityListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/region/region.listView.ts b/databrowser/src/config/tourism/region/region.listView.ts index e4a413db7..5ba0d0623 100644 --- a/databrowser/src/config/tourism/region/region.listView.ts +++ b/databrowser/src/config/tourism/region/region.listView.ts @@ -10,6 +10,7 @@ import { logoTableCell, sourceTableCell, publishedOnTableCell, + pushDataTableCell, titleTableCell, } from '../../builder/tourism'; @@ -22,5 +23,6 @@ export const regionListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/skiArea/skiArea.listView.ts b/databrowser/src/config/tourism/skiArea/skiArea.listView.ts index 97bad6bc1..9567cfd44 100644 --- a/databrowser/src/config/tourism/skiArea/skiArea.listView.ts +++ b/databrowser/src/config/tourism/skiArea/skiArea.listView.ts @@ -9,6 +9,7 @@ import { lastChangesTableCell, logoTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, titleTableCell, } from '../../builder/tourism'; @@ -22,5 +23,6 @@ export const skiAreaListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/skiRegion/skiRegion.listView.ts b/databrowser/src/config/tourism/skiRegion/skiRegion.listView.ts index 1c9492a36..8addf8380 100644 --- a/databrowser/src/config/tourism/skiRegion/skiRegion.listView.ts +++ b/databrowser/src/config/tourism/skiRegion/skiRegion.listView.ts @@ -8,7 +8,8 @@ import { languageTableCell, lastChangesTableCell, logoTableCell, - odhActiveTableCell, + publishedOnTableCell, + pushDataTableCell, sourceTableCell, titleTableCell, } from '../../builder/tourism'; @@ -21,6 +22,7 @@ export const skiRegionListView: ListViewConfig = { languageTableCell(), lastChangesTableCell(), sourceTableCell(), - odhActiveTableCell(), + publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/tourismAssociationList/tourismAssociationList.listView.ts b/databrowser/src/config/tourism/tourismAssociationList/tourismAssociationList.listView.ts index 32e0bd6ad..a63a0c3f2 100644 --- a/databrowser/src/config/tourism/tourismAssociationList/tourismAssociationList.listView.ts +++ b/databrowser/src/config/tourism/tourismAssociationList/tourismAssociationList.listView.ts @@ -9,6 +9,7 @@ import { lastChangesTableCell, logoTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, titleTableCell, } from '../../builder/tourism'; @@ -22,5 +23,6 @@ export const tourismAssociationListListView: ListViewConfig = { lastChangesTableCell(), sourceTableCell(), publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/venue/venue.listView.ts b/databrowser/src/config/tourism/venue/venue.listView.ts index 30c781cc8..49f47db4d 100644 --- a/databrowser/src/config/tourism/venue/venue.listView.ts +++ b/databrowser/src/config/tourism/venue/venue.listView.ts @@ -11,6 +11,7 @@ import { languageTableCell, lastChangesTableCell, publishedOnTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const venueListView: ListViewConfig = { @@ -43,5 +44,6 @@ export const venueListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/webcamInfo/webcamInfo.listView.ts b/databrowser/src/config/tourism/webcamInfo/webcamInfo.listView.ts index 39a1dd87b..a668b1590 100644 --- a/databrowser/src/config/tourism/webcamInfo/webcamInfo.listView.ts +++ b/databrowser/src/config/tourism/webcamInfo/webcamInfo.listView.ts @@ -8,8 +8,9 @@ import { gpsDataTableCell, imageTableCell, lastChangesTableCell, - odhActiveTableCell, sourceTableCell, + publishedOnTableCell, + pushDataTableCell, } from '../../builder/tourism'; export const webcamInfoListView: ListViewConfig = { @@ -34,6 +35,7 @@ export const webcamInfoListView: ListViewConfig = { gpsDataTableCell(), lastChangesTableCell(), sourceTableCell(), - odhActiveTableCell(), + publishedOnTableCell(), + pushDataTableCell(), ], }; diff --git a/databrowser/src/config/tourism/wineAward/wineAward.listView.ts b/databrowser/src/config/tourism/wineAward/wineAward.listView.ts index 01b38ef47..c401ad330 100644 --- a/databrowser/src/config/tourism/wineAward/wineAward.listView.ts +++ b/databrowser/src/config/tourism/wineAward/wineAward.listView.ts @@ -9,6 +9,7 @@ import { languageTableCell, lastChangesTableCell, publishedOnTableCell, + pushDataTableCell, sourceTableCell, } from '../../builder/tourism'; @@ -70,5 +71,6 @@ export const wineAwardListView: ListViewConfig = { }, }, publishedOnTableCell(), + pushDataTableCell(), ], };