diff --git a/landingPages/dataProvider/dataProvider.component.ts b/landingPages/dataProvider/dataProvider.component.ts
index a4afbb28..60c954ec 100644
--- a/landingPages/dataProvider/dataProvider.component.ts
+++ b/landingPages/dataProvider/dataProvider.component.ts
@@ -148,14 +148,13 @@ export class DataProviderComponent {
@ViewChild("descriptionDiv") descriptionDiv: ElementRef;
@ViewChild('descriptionModal') descriptionModal;
- // public shouldSticky: boolean = true;
-
subscriptions = [];
private sub: Subscription;
properties: EnvProperties = properties;
public openaireEntities = OpenaireEntities;
public isMobile: boolean = false;
+ public isBottomIntersecting: boolean = false;
public mobileContent: "info" | "metrics" | "actions" = "info";
public tabMobile: string = "";
public viewAllMobile: string = "";
@@ -198,6 +197,11 @@ export class DataProviderComponent {
ngOnInit() {
this.subscriptions.push(this.layoutService.isMobile.subscribe(isMobile => {
this.isMobile = isMobile;
+ this.cdr.detectChanges();
+ }));
+ this.subscriptions.push(this.layoutService.isBottomIntersecting.subscribe(isBottomIntersecting => {
+ this.isBottomIntersecting = isBottomIntersecting;
+ this.cdr.detectChanges();
}));
if (typeof document !== 'undefined') {
this.subscriptions.push(this.indexInfoService.getLastIndexDate(this.properties).subscribe(lastIndexUpdate => {
@@ -261,16 +265,6 @@ export class DataProviderComponent {
} else {
this.offset = 0;
}
- // let bottom = document.getElementById('bottom');
- // if(bottom) {
- // let observer = new IntersectionObserver(entries => {
- // entries.forEach(entry => {
- // this.shouldSticky = !entry.isIntersecting;
- // })
- // });
- // this.subscriptions.push(observer);
- // observer.observe(bottom);
- // }
if(this.graph_and_feedback) {
this.observeGraphAndFeedback();
}
@@ -389,6 +383,7 @@ export class DataProviderComponent {
this.dataProviderInfo = data;
this.getProvenanceUrls();
this.datasourceId = this.dataProviderInfo.objIdentifier;
+ this.dataProviderInfo.setBelongsTo(this.datasourceId);
let pid:Identifier = Identifier.getPIDFromIdentifiers(this.dataProviderInfo.identifiers);
this.canonicalUrl = this.properties.domain+ properties.baseLink + ( pid ? (this.linkToLandingPage.split("?")[0] + "?pid=" + encodeURIComponent(pid.id)):
(this.linkToLandingPage + this.dataProviderInfo.relcanId));
diff --git a/landingPages/dataProvider/relatedDatasourcesTab.component.ts b/landingPages/dataProvider/relatedDatasourcesTab.component.ts
index c8b1b25d..8c7662ad 100644
--- a/landingPages/dataProvider/relatedDatasourcesTab.component.ts
+++ b/landingPages/dataProvider/relatedDatasourcesTab.component.ts
@@ -17,8 +17,8 @@ import {OpenaireEntities} from "../../utils/properties/searchFields";
-
- *Only top 100 {{openaireEntities.DATASOURCES}} that host {{openaireEntities.RESULTS}} which are also available via the Federated Research Data Repository are shown.
+
90" class="uk-text-meta uk-margin-medium-bottom">
+ *Only top 100 {{openaireEntities.DATASOURCES}} that host {{openaireEntities.RESULTS}} which are also available via {{collectedFromName}} are shown.
pageSize" [type]="openaireEntities.DATASOURCES"
[page]="page" [pageSize]="pageSize"
diff --git a/landingPages/landing-utils/entity-metadata.component.ts b/landingPages/landing-utils/entity-metadata.component.ts
index d27eb26e..42e74781 100644
--- a/landingPages/landing-utils/entity-metadata.component.ts
+++ b/landingPages/landing-utils/entity-metadata.component.ts
@@ -159,7 +159,7 @@ import {RouterHelper} from "../../utils/routerHelper.class";
{{showInline ? projectNames.join(', ') : projectNames.slice(0, projectsLimit).join(', ')}}
projectsLimit">