From ed315a6cda717deb5bd3fdac6e0bd3ab7b913e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 28 Jan 2020 17:48:59 +0100 Subject: [PATCH 1/2] Fix alignment of table cells, remove superfluous button label --- .../Resources/Private/Templates/Backend/ListPages.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Backend/ListPages.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Backend/ListPages.html index bbab9bf5..30936a02 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Backend/ListPages.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Backend/ListPages.html @@ -21,7 +21,7 @@ - + {page.title} @@ -29,18 +29,17 @@ - + {page.seoTitle} - + {page.description} - + From 1d118250fc8aafba7c9644fdff75181d49a28edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 28 Jan 2020 17:59:32 +0100 Subject: [PATCH 2/2] Hide unavailable webcams from selection --- .../Configuration/TCA/tx_epproducts_domain_model_region.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php index a037aafb..8ca07580 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php +++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_region.php @@ -563,7 +563,7 @@ return [ ], 'renderType' => 'selectSingle', 'foreign_table' => 'tx_epproducts_domain_model_webcam', - 'foreign_table_where' => 'AND tx_epproducts_domain_model_webcam.snowreport=###REC_FIELD_snowreport### ORDER BY tx_epproducts_domain_model_webcam.name', + 'foreign_table_where' => 'AND tx_epproducts_domain_model_webcam.available = 1 AND tx_epproducts_domain_model_webcam.snowreport=###REC_FIELD_snowreport### ORDER BY tx_epproducts_domain_model_webcam.name', 'minitems' => 0, 'maxitems' => 1, ],