2022-08-29 15:57:04 +02:00
|
|
|
|
import {Component, OnDestroy, OnInit} from "@angular/core";
|
2022-08-05 10:34:37 +02:00
|
|
|
|
import {properties} from "../../../../environments/environment";
|
2022-08-05 14:50:53 +02:00
|
|
|
|
import {ActivatedRoute, Router} from "@angular/router";
|
2022-08-05 10:34:37 +02:00
|
|
|
|
import {Meta, Title} from "@angular/platform-browser";
|
|
|
|
|
import {SEOService} from "../../sharedComponents/SEO/SEO.service";
|
2022-08-29 15:30:12 +02:00
|
|
|
|
import {Breadcrumb} from "../../utils/breadcrumbs/breadcrumbs.component";
|
2022-08-29 15:57:04 +02:00
|
|
|
|
import {Subscriber} from "rxjs";
|
2022-08-05 10:34:37 +02:00
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'indicator-themes-page',
|
|
|
|
|
template: `
|
2022-11-28 09:58:20 +01:00
|
|
|
|
<div class="uk-visible@m">
|
|
|
|
|
<div class="uk-container uk-container-large uk-section uk-section-small uk-padding-remove-bottom">
|
|
|
|
|
<div class="uk-padding-small uk-padding-remove-horizontal">
|
|
|
|
|
<breadcrumbs [breadcrumbs]="breadcrumbs"></breadcrumbs>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-container uk-container-large uk-section">
|
|
|
|
|
<h1>Indicator Themes<span class="uk-text-primary">.</span></h1>
|
|
|
|
|
<div class="uk-section">
|
|
|
|
|
<div class="uk-grid uk-grid-large uk-flex-middle" uk-grid>
|
|
|
|
|
<div class="uk-width-3-5">
|
|
|
|
|
<img src="assets/common-assets/monitor-assets/indicator-themes-circle.png">
|
2022-08-05 10:34:37 +02:00
|
|
|
|
</div>
|
2022-11-28 09:58:20 +01:00
|
|
|
|
<div class="uk-width-expand">
|
|
|
|
|
<div>
|
|
|
|
|
<h5>Indicator themes that we are covering in the Monitor dashboards.</h5>
|
|
|
|
|
<p>
|
|
|
|
|
This is the current set of indicator themes we cover. We’ll keep enriching it as new requests and data are coming into the <a href="https://graph.openaire.eu" class="text-graph" target="_blank">OpenAIRE Research Graph</a>. We are at your disposal, should you have any recommendations!
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Check out the indicator pages (for <a [routerLink]="['../funder']" [relativeTo]="route">funders</a>,
|
|
|
|
|
<a [routerLink]="['../organization']" [relativeTo]="route">research institutions</a> and
|
|
|
|
|
<a [routerLink]="['../ri']" [relativeTo]="route">research initiatives</a>)
|
|
|
|
|
for the specific indicators for each type of dashboard, and the <a [routerLink]="['../../methodology']" [relativeTo]="route">methodology and terminology</a> page on how we produce the metrics.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-hidden@m">
|
|
|
|
|
<div class="uk-section uk-container uk-container-large">
|
|
|
|
|
<h1 class="uk-heading-small uk-text-center uk-padding-small uk-padding-remove-vertical">Indicator Themes<span class="uk-text-primary">.</span></h1>
|
|
|
|
|
<div class="uk-text-center uk-margin-large-top">
|
|
|
|
|
<div class="uk-padding-small uk-padding-remove-vertical">
|
|
|
|
|
<img src="assets/common-assets/monitor-assets/indicator-themes-circle.png">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h5 class="uk-margin-large-top uk-margin-large-bottom">Indicator themes that we are covering in the Monitor dashboards.</h5>
|
|
|
|
|
<p>
|
|
|
|
|
This is the current set of indicator themes we cover. We’ll keep enriching it as new requests and data are coming into the <a href="https://graph.openaire.eu" class="text-graph" target="_blank">OpenAIRE Research Graph</a>. We are at your disposal, should you have any recommendations!
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Check out the indicator pages (for <a [routerLink]="['../funder']" [relativeTo]="route">funders</a>,
|
|
|
|
|
<a [routerLink]="['../organization']" [relativeTo]="route">research institutions</a> and
|
|
|
|
|
<a [routerLink]="['../ri']" [relativeTo]="route">research initiatives</a>)
|
|
|
|
|
for the specific indicators for each type of dashboard, and the <a [routerLink]="['../../methodology']" [relativeTo]="route">methodology and terminology</a> page on how we produce the metrics.
|
|
|
|
|
</p>
|
2022-08-05 10:34:37 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`
|
|
|
|
|
})
|
2022-08-29 15:57:04 +02:00
|
|
|
|
export class IndicatorThemesComponent implements OnInit, OnDestroy {
|
|
|
|
|
private subscriptions: any[] = [];
|
2022-08-05 10:34:37 +02:00
|
|
|
|
public properties = properties;
|
2022-09-19 15:47:52 +02:00
|
|
|
|
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Resources - Themes'}];
|
2022-08-05 10:34:37 +02:00
|
|
|
|
|
|
|
|
|
constructor(private router: Router,
|
|
|
|
|
private meta: Meta,
|
|
|
|
|
private title: Title,
|
2022-08-05 14:50:53 +02:00
|
|
|
|
private seoService: SEOService,
|
|
|
|
|
public route: ActivatedRoute) {
|
2022-08-05 10:34:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ngOnInit() {
|
2022-08-29 15:57:04 +02:00
|
|
|
|
this.subscriptions.push(this.route.params.subscribe(params => {
|
|
|
|
|
const description = "Monitor | Indicator Themes";
|
|
|
|
|
const title = "Monitor | Indicator Themes";
|
|
|
|
|
this.metaTags(title, description);
|
|
|
|
|
this.breadcrumbs[0].route = '/' + (params['stakeholder']?params['stakeholder']:'');
|
2022-09-06 16:07:10 +02:00
|
|
|
|
this.breadcrumbs[0].name = (params['stakeholder']?'dashboard':'home');
|
2022-08-29 15:57:04 +02:00
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ngOnDestroy() {
|
|
|
|
|
this.subscriptions.forEach(subscription => {
|
|
|
|
|
if (subscription instanceof Subscriber) {
|
|
|
|
|
subscription.unsubscribe();
|
|
|
|
|
}
|
|
|
|
|
});
|
2022-08-05 10:34:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
metaTags(title, description) {
|
|
|
|
|
const url = properties.domain + properties.baseLink + this.router.url;
|
|
|
|
|
this.seoService.createLinkForCanonicalURL(url, false);
|
|
|
|
|
this.meta.updateTag({content: url}, "property='og:url'");
|
|
|
|
|
this.meta.updateTag({content: description}, "name='description'");
|
|
|
|
|
this.meta.updateTag({content: description}, "property='og:description'");
|
|
|
|
|
this.meta.updateTag({content: title}, "property='og:title'");
|
|
|
|
|
this.title.setTitle(title);
|
|
|
|
|
}
|
|
|
|
|
}
|