diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6c5963a..bea08ff 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -292,22 +292,7 @@ export class AppComponent implements OnInit, OnDestroy { false, [], null, {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}, null, null, null, null) ); - if (this.properties.environment !== 'production') { - this.resourcesService.setResourcesDeprecated(this.menuItems, "/" + this.stakeholder.alias); - } else { - this.menuItems.push( - new MenuItem("methodology", "Methodology", - "", "/" + this.stakeholder.alias + "/methodology", false, [], null, {}, - null, null, null, null, "_blank", "internal", false, - [ - new MenuItem("methodology", "Terminology and construction", - "", "/" + this.stakeholder.alias + "/methodology", false, [], null, {}), - new MenuItem("methodology", "See how it works", - "", "/" + this.stakeholder.alias + "/methodology", false, [], null, {}, null, "how"), - ] - ) - ); - } + this.resourcesService.setResources(this.menuItems, "/" + this.stakeholder.alias); if (this.stakeholder.type === "funder") { this.menuItems.push( new MenuItem("develop", "Develop", @@ -384,10 +369,7 @@ export class AppComponent implements OnInit, OnDestroy { new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS, "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self") ); - if (this.properties.environment === 'development') { - // @ts-ignore - this.resourcesService.setResourcesDeprecated(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu'); - } + this.resourcesService.setResources(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu'); this.menuItems.push( new MenuItem("about", "About", "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/learn-how', "", false, [], null, {}, null, null, null, null, "_self") diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index d9afcfc..05cfd20 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit d9afcfcb06f200d91bd93dca94628ae334d74968 +Subproject commit 05cfd20bb9376b39ef8482c90be1c5d3d5b8f6cd diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index f085a90..bc0edde 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit f085a90973b216b89065848dba864e2d581acc84 +Subproject commit bc0edde68dccfc17c1abc5d5aa3721f720aee852