diff --git a/src/app/affiliations/affiliations.component.html b/src/app/affiliations/affiliations.component.html
index 78538ee..b1b8719 100644
--- a/src/app/affiliations/affiliations.component.html
+++ b/src/app/affiliations/affiliations.component.html
@@ -26,7 +26,7 @@
-
= affiliationsInSlider ? affiliationsInSlider : affiliations.length)+'-'+affiliationsInSlider">
@@ -88,6 +88,6 @@
-
+
diff --git a/src/app/affiliations/affiliations.component.ts b/src/app/affiliations/affiliations.component.ts
index 35a5509..f964335 100644
--- a/src/app/affiliations/affiliations.component.ts
+++ b/src/app/affiliations/affiliations.component.ts
@@ -15,7 +15,7 @@ import {PiwikHelper} from "../utils/piwikHelper";
})
export class AffiliationsComponent {
@Input() getAffiliationsFromAPI: boolean = false;
- @Input() fullView: boolean = false;
+ @Input() longView: boolean = false;
@Input() communityFirstPage: boolean = false;
@Input() affiliationsInSlider: number = 5;
@Input() affiliations: Affiliation[] = [];
@@ -49,16 +49,16 @@ export class AffiliationsComponent {
}
this.properties = data.envSpecific;
-
- if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
- this.piwiksub = this._piwikService.trackView(this.properties, this.pageTitle, PiwikHelper.getSiteId(this.communityId,this.properties.environment)).subscribe();
+ if(this.longView) {
+ if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
+ this.piwiksub = this._piwikService.trackView(this.properties, this.pageTitle, PiwikHelper.getSiteId(this.communityId, this.properties.environment)).subscribe();
+ }
+ this.url = this.properties.baseLink + this._router.url;
+ this.seoService.createLinkForCanonicalURL(this.url);
+ this.updateUrl(this.url);
+ this.updateTitle(this.pageTitle);
+ this.updateDescription("OpenAIRE - Connect, Community Gateway, research community, organizations");
}
- this.url = this.properties.baseLink + this._router.url;
- this.seoService.createLinkForCanonicalURL(this.url);
- this.updateUrl(this.url);
- this.updateTitle(this.pageTitle);
- this.updateDescription("OpenAIRE - Connect, Community Gateway, research community, organizations");
-
if(this.getAffiliationsFromAPI) {
this.showLoading = true;
this.affiliationService.initAffiliations(this.properties, this.properties.communityAPI + this.communityId + "/organizations");
diff --git a/src/app/community/community.component.html b/src/app/community/community.component.html
index 31cca3e..0302617 100644
--- a/src/app/community/community.component.html
+++ b/src/app/community/community.component.html
@@ -521,7 +521,7 @@