From 4665bd9f220b3960e868e5bf4e8735fd3db7f382 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Thu, 9 Jun 2022 11:21:37 +0300 Subject: [PATCH] changes for adding stakeholder entities as enum + update openaireLibrary repo --- .../browse-stakeholder/browse-stakeholder.component.ts | 9 ++------- src/app/get-started/get-started.component.html | 2 +- src/app/home/home.component.html | 2 +- src/app/learn-how/learn-how.component.html | 4 ++-- src/app/openaireLibrary | 2 +- 5 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/app/browse-stakeholder/browse-stakeholder.component.ts b/src/app/browse-stakeholder/browse-stakeholder.component.ts index a34581f..6cb61f5 100644 --- a/src/app/browse-stakeholder/browse-stakeholder.component.ts +++ b/src/app/browse-stakeholder/browse-stakeholder.component.ts @@ -6,6 +6,7 @@ import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties" import {properties} from "../../environments/environment" import {LocalStorageService} from "../openaireLibrary/services/localStorage.service"; import {Subscriber} from "rxjs"; +import {StringUtils} from "../openaireLibrary/utils/string-utils.class"; @Component({ selector: 'browse-stakeholder', @@ -46,13 +47,7 @@ export class BrowseStakeholderComponent { } mapType(type: string) { - if(type === 'ri') { - return 'Research Initiative'; - } else if(type === 'organization') { - return 'Research Institution'; - } else { - return type; - } + return StringUtils.getStakeholderType(type, false); } public confirmModalOpen() { diff --git a/src/app/get-started/get-started.component.html b/src/app/get-started/get-started.component.html index b7d24e4..89b07da 100644 --- a/src/app/get-started/get-started.component.html +++ b/src/app/get-started/get-started.component.html @@ -9,7 +9,7 @@

Get started with
OpenAIRE Monitor Dashboard .

The OpenAIRE Monitor Dashboard is an open tracking platform with all the tools you need - to understand and make insightful decisions — whether you are a {{stakeholderEntities.FUNDER | lowercase}}, a {{stakeholderEntities.RI | lowercase}} + to understand and make insightful decisions — whether you are a funder, a research initiative or a community, and want to measure or increase uptake of Open Science, understand your costs, gaps and strengths, or build a community around it.
diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index a42222e..d80149c 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -54,7 +54,7 @@
- {{stakeholderEntities.FUNDERS}}. Universities. {{stakeholderEntities.RIS | titlecase}}. Communities. + Funders. Universities. Research Initiatives. Communities.

Simplify Open Science tracking & monitoring.

diff --git a/src/app/learn-how/learn-how.component.html b/src/app/learn-how/learn-how.component.html index d6ac3c4..8ac27ce 100644 --- a/src/app/learn-how/learn-how.component.html +++ b/src/app/learn-how/learn-how.component.html @@ -27,7 +27,7 @@ Starting from the OpenAIRE RESEARCH GRAPH
- OpenAIRE Research Graph is a comprehensive research graph (meta research) that links all types of {{openaireEntities.RESULTS | lowercase}} to {{stakeholderEntities.FUNDERS | lowercase}}, {{openaireEntities.ORGANIZATIONS | lowercase}}, researchers, {{openaireEntities.COMMUNITIES | lowercase}} and publishers. With information from global databases, disambiguated and interlinked using semantic AI technologies. + OpenAIRE Research Graph is a comprehensive research graph (meta research) that links all types of research products to funders, organizations, researchers, research communities and publishers. With information from global databases, disambiguated and interlinked using semantic AI technologies.
@@ -40,7 +40,7 @@ Provide us some information
- You give us some simple (meta)data related to your organization function: e.g., funding database, repositories, related {{openaireEntities.PROJECTS | lowercase}}, registry of people… All under confidential agreements. + You give us some simple (meta)data related to your organization function: e.g., funding database, repositories, related projects, registry of people… All under confidential agreements.
diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index d79a959..07c9908 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit d79a9595768214f5dcf26d220a91e7da5baabb5a +Subproject commit 07c990824ecaac2036c7337a81b6d20432c05571