From ca9f2bca45e4e6b91fe77b36056ea49a889293bd Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 24 Jul 2023 16:25:20 +0300 Subject: [PATCH] [Library | develop]: In search bars, set in placeholder the portal name according to the configuration name. 1. home.component & navigationBar.component: Get portalName by config.portalAsObservable>name and set placeholder to "Search "+portalName. 2. searchAll.component.ts: Set default value of "formPlaceholderText" to "Search". 3. advancedSearchForm.component.html: Set placeholder of input (when there is also the ) to [placeholder]="formPlaceholderText". --- explore/src/app/home/home.component.html | 2 +- explore/src/app/home/home.component.ts | 4 ++++ explore/src/app/openaireLibrary | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/explore/src/app/home/home.component.html b/explore/src/app/home/home.component.html index 70963c48..b2903a90 100644 --- a/explore/src/app/home/home.component.html +++ b/explore/src/app/home/home.component.html @@ -28,7 +28,7 @@ [onChangeNavigate]="false" class="uk-width-2-5"> --> -