From 8c49ebefc4e41ca45c3f2ccc7729f8d360e09d46 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 2 Feb 2024 11:55:35 +0200 Subject: [PATCH 1/3] UHF-5527: Add search role attribute for the custom unit searches --- .../form/form--views-exposed-form-daycare-search-block.html.twig | 1 + .../form--views-exposed-form-high-school-search-block.html.twig | 1 + .../form--views-exposed-form-playground-search-block.html.twig | 1 + ...--views-exposed-form-vocational-school-search-block.html.twig | 1 + 4 files changed, 4 insertions(+) create mode 100644 public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig create mode 100644 public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig create mode 100644 public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig create mode 100644 public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig new file mode 100644 index 00000000..5c63420e --- /dev/null +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig @@ -0,0 +1 @@ +{% include '@hdbt/form/form--unit-search.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig new file mode 100644 index 00000000..5c63420e --- /dev/null +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig @@ -0,0 +1 @@ +{% include '@hdbt/form/form--unit-search.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig new file mode 100644 index 00000000..5c63420e --- /dev/null +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig @@ -0,0 +1 @@ +{% include '@hdbt/form/form--unit-search.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig new file mode 100644 index 00000000..5c63420e --- /dev/null +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig @@ -0,0 +1 @@ +{% include '@hdbt/form/form--unit-search.twig' %} From 23e6d21857b59cb36f785d7adaa909a35ce7b8db Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 2 Feb 2024 12:36:24 +0200 Subject: [PATCH 2/3] UHF-5527: Modify templates to match hdbt changes about the form--unit-search file name change --- .../form--views-exposed-form-daycare-search-block.html.twig | 2 +- .../form--views-exposed-form-high-school-search-block.html.twig | 2 +- .../form--views-exposed-form-playground-search-block.html.twig | 2 +- ...-views-exposed-form-vocational-school-search-block.html.twig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig index 5c63420e..ced35c9d 100644 --- a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-daycare-search-block.html.twig @@ -1 +1 @@ -{% include '@hdbt/form/form--unit-search.twig' %} +{% include '@hdbt/form/form--unit-search.html.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig index 5c63420e..ced35c9d 100644 --- a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-high-school-search-block.html.twig @@ -1 +1 @@ -{% include '@hdbt/form/form--unit-search.twig' %} +{% include '@hdbt/form/form--unit-search.html.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig index 5c63420e..ced35c9d 100644 --- a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-playground-search-block.html.twig @@ -1 +1 @@ -{% include '@hdbt/form/form--unit-search.twig' %} +{% include '@hdbt/form/form--unit-search.html.twig' %} diff --git a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig index 5c63420e..ced35c9d 100644 --- a/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/form/form--views-exposed-form-vocational-school-search-block.html.twig @@ -1 +1 @@ -{% include '@hdbt/form/form--unit-search.twig' %} +{% include '@hdbt/form/form--unit-search.html.twig' %} From ca34343befd2bc27e6d4cb81b14636ba8e0a8045 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 2 Feb 2024 17:52:10 +0200 Subject: [PATCH 3/3] UHF-5527: Add type search attribute for address search inputs --- .../form/text-input/input--textfield--address-search.html.twig | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/themes/custom/hdbt_subtheme/templates/form/text-input/input--textfield--address-search.html.twig diff --git a/public/themes/custom/hdbt_subtheme/templates/form/text-input/input--textfield--address-search.html.twig b/public/themes/custom/hdbt_subtheme/templates/form/text-input/input--textfield--address-search.html.twig new file mode 100644 index 00000000..b77c1c64 --- /dev/null +++ b/public/themes/custom/hdbt_subtheme/templates/form/text-input/input--textfield--address-search.html.twig @@ -0,0 +1 @@ +{% include '@hdbt/form/text-input/input--textfield--unit-search.html.twig' %}