change breadcrumbs in resources pages

This commit is contained in:
Alex Martzios 2022-09-19 16:47:52 +03:00
parent 876b51d420
commit b355d7b7c1
4 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ import {Subscriber} from "rxjs";
export class IndicatorThemesComponent implements OnInit, OnDestroy {
private subscriptions: any[] = [];
public properties = properties;
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources'}, {name: 'Themes'}];
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources - Themes'}];
constructor(private router: Router,
private meta: Meta,

View File

@ -44,7 +44,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy {
const description = "Monitor | Indicators for " + type.label;
const title = "Monitor | Indicators for " + type.label;
this.metaTags(title, description);
this.breadcrumbs[2] = {name: type.label};
this.breadcrumbs[1] = {name: 'Resources - ' + type.label}
}
}
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');

View File

@ -68,7 +68,7 @@ export class SeeHowItWorksComponent implements OnInit, OnDestroy {
public tab: 'entities' | 'attributes' = 'entities';
private subscriptions: any[] = [];
public openaireEntities = OpenaireEntities;
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources'}, {name: 'See how it works', keepFormat: true}];
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources - See how it works', keepFormat: true}];
constructor(private seoService: SEOService,
private meta: Meta,

View File

@ -459,7 +459,7 @@ export class TerminologyComponent implements OnInit, OnDestroy {
public tab: 'entities' | 'attributes' = 'entities';
private subscriptions: any[] = [];
public openaireEntities = OpenaireEntities;
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources'}, {name: 'Terminology and construction', keepFormat: true}];
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources - Terminology and construction', keepFormat: true}];
public graph_offset: number = 0;
public graph_height: number = 0;
@ViewChild("graph_element") graph_element;