[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:
parent
e2ca8d3e4b
commit
1500084e78
|
@ -1 +1 @@
|
||||||
Subproject commit 4242a65199dcef141c844a5dda5116317d528045
|
Subproject commit 64b0e163fa1231154019e63a626fddf77a7ce421
|
|
@ -3,7 +3,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "beta",
|
environment: "beta",
|
||||||
adminToolsPortalType: "aggregator",
|
adminToolsPortalType: "aggregator",
|
||||||
dashboard: "explore",
|
dashboard: "aggregator",
|
||||||
enablePiwikTrack: true,
|
enablePiwikTrack: true,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
|
|
|
@ -2,8 +2,8 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
|
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "production",
|
environment: "production",
|
||||||
adminToolsPortalType: "aggregator",
|
adminToolsPortalType: "eosc",
|
||||||
dashboard: "explore",
|
dashboard: "aggregator",
|
||||||
enablePiwikTrack: true,
|
enablePiwikTrack: true,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "production",
|
environment: "production",
|
||||||
adminToolsPortalType: "aggregator",
|
adminToolsPortalType: "aggregator",
|
||||||
dashboard: "explore",
|
dashboard: "aggregator",
|
||||||
enablePiwikTrack: true,
|
enablePiwikTrack: true,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
|
|
|
@ -7,8 +7,8 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
|
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "development",
|
environment: "development",
|
||||||
adminToolsPortalType: "aggregator",
|
adminToolsPortalType: "eosc",
|
||||||
dashboard: "explore",
|
dashboard: "aggregator",
|
||||||
enablePiwikTrack: false,
|
enablePiwikTrack: false,
|
||||||
useCache: true,
|
useCache: true,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
|
|
Loading…
Reference in New Issue