diff --git a/src/app/affiliations/affiliations.component.html b/src/app/affiliations/affiliations.component.html
index a6831bb..08ec20e 100644
--- a/src/app/affiliations/affiliations.component.html
+++ b/src/app/affiliations/affiliations.component.html
@@ -6,7 +6,7 @@
+ class="uk-blend-multiply uk-height-max-xsmall" loading="lazy">
diff --git a/src/app/affiliations/affiliations.component.ts b/src/app/affiliations/affiliations.component.ts
index 22e49eb..c382360 100644
--- a/src/app/affiliations/affiliations.component.ts
+++ b/src/app/affiliations/affiliations.component.ts
@@ -19,9 +19,6 @@ import {properties} from "../../environments/environment";
width: 260px !important;
height: 260px !important;
}
- .affiliation-logo img {
- max-height: 60px !important;
- }
.supportingOrganizations img, svg {
-webkit-filter: grayscale(1);
filter: grayscale(1);
diff --git a/src/app/community/community.component.html b/src/app/community/community.component.html
index 291be3e..09d7e63 100644
--- a/src/app/community/community.component.html
+++ b/src/app/community/community.component.html
@@ -1,7 +1,4 @@
-
-
-
@@ -730,13 +727,18 @@
-
+
Here are listed some of the most important energy datasets as selected by energy experts.
Check them if you want to easily explore and visualize the European energy landscape,
using only well-known datasets which you can trust.
+
diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts
index 0a6119a..2dc9355 100644
--- a/src/app/community/community.component.ts
+++ b/src/app/community/community.component.ts
@@ -98,6 +98,9 @@ export class CommunityComponent {
public thresholdDescription: number = 500;
public descriptionDiff: number = 100;
+ page = 1;
+ size = 5;
+
subscribers: number = 0;
subs: Subscription[] = [];
@@ -388,6 +391,7 @@ export class CommunityComponent {
)
) {
this.fetchFeaturedDatasets.getAllResultsForCommunity("dataset", this.communityId, page, size, this.properties, "enermaps::selection");
+ // console.log(this.fetchFeaturedDatasets);
}
this.reloadFeaturedDatasets = false;
}
@@ -660,5 +664,9 @@ export class CommunityComponent {
disableSelectChange(event: boolean) {
this.disableSelect = event;
this.cdr.detectChanges();
+ }
+
+ public updatePage(event) {
+ this.page = event.value;
}
}
diff --git a/src/app/community/community.module.ts b/src/app/community/community.module.ts
index bf88048..3e7e4b8 100644
--- a/src/app/community/community.module.ts
+++ b/src/app/community/community.module.ts
@@ -33,6 +33,7 @@ import {AdvancedSearchInputModule} from '../openaireLibrary/sharedComponents/adv
import {InputModule} from '../openaireLibrary/sharedComponents/input/input.module';
import {QuickSelectionsModule} from '../openaireLibrary/searchPages/searchUtils/quick-selections.module';
import {IconsModule} from '../openaireLibrary/utils/icons/icons.module';
+import {NoLoadPaging} from '../openaireLibrary/searchPages/searchUtils/no-load-paging.module';
@NgModule({
imports: [
@@ -42,7 +43,7 @@ import {IconsModule} from '../openaireLibrary/utils/icons/icons.module';
SearchResearchResultsServiceModule, SearchResultsModule, CuratorsModule, AffiliationsModule,
SEOServiceModule, MatSelectModule, EntitiesSelectionModule,
TabsModule, SearchTabModule, ErrorMessagesModule, SafeHtmlPipeModule, ErrorModule,
- AdvancedSearchInputModule, InputModule, QuickSelectionsModule, IconsModule
+ AdvancedSearchInputModule, InputModule, QuickSelectionsModule, IconsModule, NoLoadPaging
],
declarations: [
CommunityComponent
diff --git a/src/app/curators/curators.component.ts b/src/app/curators/curators.component.ts
index 5bea392..dfaf7d0 100644
--- a/src/app/curators/curators.component.ts
+++ b/src/app/curators/curators.component.ts
@@ -103,11 +103,12 @@ export class CuratorsComponent {
private getCurators() {
this.subs.push(this.curatorsService.getCurators(this.properties, this.community.communityId).subscribe(curators => {
this.curators = curators;
- for (let i = 0; i < this.curators.length; i++) {
- this.showMore[i] = false;
- }
- this.showLoading = false;
- }));
+ this.showLoading = false;
+ }, error => {
+ console.error(error);
+ this.curators = [];
+ this.showLoading = false;
+ }));
}
private getPageContents() {
@@ -122,10 +123,6 @@ export class CuratorsComponent {
}));
}
- public toggle(index: number) {
- this.showMore[index] = !this.showMore[index];
- }
-
format(name: string) {
if (name) {
return (((name).length > this.maxCharacters) ? (name.substring(0, (this.maxCharacters - ('...').length)) + '...') : name);
diff --git a/src/app/deposit/zenodo/shareInZenodo.component.html b/src/app/deposit/zenodo/shareInZenodo.component.html
index 9effde1..ee11d3b 100644
--- a/src/app/deposit/zenodo/shareInZenodo.component.html
+++ b/src/app/deposit/zenodo/shareInZenodo.component.html
@@ -92,7 +92,7 @@
[page]="page" [pageSize]="size"
[totalResults]="communityIds.length" >
-
0" class="uk-grid uk-grid-medium uk-grid-match uk-child-width-1-2@m" uk-grid
+
0" class="uk-grid uk-grid-medium uk-grid-match uk-child-width-1-2@m uk-margin-top" uk-grid
uk-height-match="target: .header, .body">
=((page-1)*size) && i < communityIds.length && i< this.page * this.size && communities[this.communityIds[i]['zenodoid']]"
diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary
index de829d2..db5c95f 160000
--- a/src/app/openaireLibrary
+++ b/src/app/openaireLibrary
@@ -1 +1 @@
-Subproject commit de829d2bccc33b4231c1c1349dd449a2dfb1f8c4
+Subproject commit db5c95fe248c0e4fe059602185ee8a6161d9949f
diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme
index 8f8b85e..32040ce 160000
--- a/src/assets/openaire-theme
+++ b/src/assets/openaire-theme
@@ -1 +1 @@
-Subproject commit 8f8b85e69d5c505ed59b12b8b70348096f339775
+Subproject commit 32040ce807ad4945e7682b39a3fbc6faecf2f619