[Aggregator & Library | new-theme]: [Bug fix] Set properly "dashboard" and "adminToolsPortalType" properties and show "Check compatible EOSC services" button in eosc portal too.

1. env-properties.ts:
   a. In Dashboard type added "aggregator".
   b. In PortalType added "funder", "ri", "project", "organization", "aggregator", "eosc".
2. environments/: Set "dashboard" property to "aggregator" and only for eosc set "adminToolsPortalType" property to "eosc".
3. entitiesSelection.component.ts: Added check if adminToolsPortalType is "eosc".
4. resultLanding.component.ts: In method "hasRightSidebarInfo()" check if adminToolsPortalType is "eosc" to show "Check compatible EOSC services" button.
5. resultLanding.component.html: Show "Check compatible EOSC services" for adminToolsPortalType "explore" or "eosc".
This commit is contained in:
Konstantina Galouni 2022-05-16 17:14:50 +03:00
parent e2ca8d3e4b
commit 1500084e78
5 changed files with 7 additions and 7 deletions

@ -1 +1 @@
Subproject commit 4242a65199dcef141c844a5dda5116317d528045
Subproject commit 64b0e163fa1231154019e63a626fddf77a7ce421

View File

@ -3,7 +3,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = {
environment: "beta",
adminToolsPortalType: "aggregator",
dashboard: "explore",
dashboard: "aggregator",
enablePiwikTrack: true,
useCache: false,
useLongCache: true,

View File

@ -2,8 +2,8 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = {
environment: "production",
adminToolsPortalType: "aggregator",
dashboard: "explore",
adminToolsPortalType: "eosc",
dashboard: "aggregator",
enablePiwikTrack: true,
useCache: false,
useLongCache: true,

View File

@ -3,7 +3,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = {
environment: "production",
adminToolsPortalType: "aggregator",
dashboard: "explore",
dashboard: "aggregator",
enablePiwikTrack: true,
useCache: false,
useLongCache: true,

View File

@ -7,8 +7,8 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
export let properties: EnvProperties = {
environment: "development",
adminToolsPortalType: "aggregator",
dashboard: "explore",
adminToolsPortalType: "eosc",
dashboard: "aggregator",
enablePiwikTrack: false,
useCache: true,
useLongCache: true,