diff --git a/src/app/app.component.ts b/src/app/app.component.ts index f5f1ffc..0505ffa 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -7,7 +7,7 @@ import {StakeholderService} from "./openaireLibrary/monitor/services/stakeholder import {BehaviorSubject, Subscriber} from "rxjs"; import {LayoutService} from "./openaireLibrary/dashboard/sharedComponents/sidebar/layout.service"; import {MenuItem, RootMenuItem} from "./openaireLibrary/sharedComponents/menu"; -import {Stakeholder, Topic, Visibility} from "./openaireLibrary/monitor/entities/stakeholder"; +import {Stakeholder, StakeholderEntities, Topic, Visibility} from "./openaireLibrary/monitor/entities/stakeholder"; import {LinksResolver} from "./search/links-resolver"; import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component"; import {properties} from "../environments/environment"; @@ -39,6 +39,7 @@ export class AppComponent implements OnInit, OnDestroy { notificationGroups: Option[] = []; notificationGroupsInitialized: boolean = false; stakeholderUtils: StakeholderUtils = new StakeholderUtils(); + public stakeholderEntities = StakeholderEntities; menuHeader: Header = { route: "/", url: null, @@ -353,15 +354,15 @@ export class AppComponent implements OnInit, OnDestroy { "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/learn-how', "", false, [], null, {}, null, null, null, null, "_self"), items: [] }); - this.menuItems.push({ - rootItem: new MenuItem("browse", "Browse", - "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self"), - items: [] - }); if(this.properties.environment === 'development') { // @ts-ignore this.resourcesService.setResourcesDeprecated(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu'); } + this.menuItems.push({ + rootItem: new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS, + "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self"), + items: [] + }); } else { this.userMenuItems.push(new MenuItem("", "User information", "", "/admin/user-info", false, [], [], {})); this.menuHeader = { diff --git a/src/assets/monitor-dashboard-custom.less b/src/assets/monitor-dashboard-custom.less index b498545..bef5a29 100644 --- a/src/assets/monitor-dashboard-custom.less +++ b/src/assets/monitor-dashboard-custom.less @@ -37,6 +37,13 @@ /** Text */ @text-primary-color: @monitor-color; @text-background-color: @monitor-color; + @inverse-text-primary-color: @monitor-color; + + /* Slider */ + @dotnav-item-background: fade(@monitor-color, 50%); + @dotnav-item-hover-background: @monitor-color; + @dotnav-item-onclick-background: @monitor-color; + @dotnav-item-active-background: @monitor-color; /* General */ @general-search-form-background: @monitor-dashboard-background;