From 2dca865d5fc389c5e7b64d5f677c5c1dd6f30596 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Mon, 29 Jun 2020 11:11:34 +0000 Subject: [PATCH] [Explore|Trunk] Home: add advanced search link when "All content" is selected. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59004 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/src/app/home/home.component.html | 28 ++++++++++++++++++++++-- explore/src/app/home/home.component.ts | 2 ++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/explore/src/app/home/home.component.html b/explore/src/app/home/home.component.html index a24da417..565946b5 100644 --- a/explore/src/app/home/home.component.html +++ b/explore/src/app/home/home.component.html @@ -52,8 +52,32 @@ class="uk-button portal-button uk-text-bold uk-padding uk-padding-remove-vertical uk-margin-small-left"> Search -
Advanced Search
+
+ + Advanced Search + Advanced Search
+
+ +
+ + diff --git a/explore/src/app/home/home.component.ts b/explore/src/app/home/home.component.ts index 2a143c06..8a263a26 100644 --- a/explore/src/app/home/home.component.ts +++ b/explore/src/app/home/home.component.ts @@ -137,6 +137,7 @@ export class HomeComponent { showOrp: boolean = false; showProjects:boolean= false; showDataProviders:boolean= false; + showOrganizations:boolean= false; properties: EnvProperties; public readMore: boolean = false; public subPub;public subData;public subProjects;public subOrg; public subDataPr; @@ -231,6 +232,7 @@ public subPub;public subData;public subProjects;public subOrg; public subDataPr; this.showOrp = showEntity["orp"]; this.showProjects = showEntity["project"]; this.showDataProviders = showEntity["datasource"]; + this.showOrganizations = showEntity["organization"]; this.getNumbers(); // if(this.showDataProviders) { // this.fetchDataproviders.getResultsForHome(this.numResults, this.properties);