0"
class="uk-width-1-3 uk-padding right-column uk-inline">
diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts
index 0129d1a..71298dc 100644
--- a/src/app/community/community.component.ts
+++ b/src/app/community/community.component.ts
@@ -65,7 +65,8 @@ export class CommunityComponent {
zenodoCommunityIdS = [];
showAllSubjects = false;
showAllDescription = false;
- public thresholdDescription: number = 550;
+ public thresholdDescription: number = 500;
+ public descriptionDiff: number = 100;
subscribers: number = 0;
@@ -146,6 +147,10 @@ export class CommunityComponent {
HelperFunctions.scroll();
}
this.community = community;
+ if(community.description != null && (community.description.length - this.thresholdDescription <= this.descriptionDiff)) {
+ this.thresholdDescription = community.description.length;
+ }
+
if (this.properties.environment == "development") {
this.params = {communityId: community.communityId};
}
diff --git a/src/app/curators/curators.component.html b/src/app/curators/curators.component.html
index f18df71..c7e912c 100644
--- a/src/app/curators/curators.component.html
+++ b/src/app/curators/curators.component.html
@@ -84,12 +84,13 @@
-
-
0" class="lowOpacityColor uk-text-muted uk-width-auto">
+ 0" class="uk-grid">
+
Curated by:
-
-
+
+
+ curatorsLimit" class="uk-width-1-1 uk-text-right uk-margin-small-top">
+
View less curators
+
diff --git a/src/app/curators/curators.component.ts b/src/app/curators/curators.component.ts
index 1dc3dec..6bc5e35 100644
--- a/src/app/curators/curators.component.ts
+++ b/src/app/curators/curators.component.ts
@@ -29,6 +29,9 @@ export class CuratorsComponent {
public curators: Curator[];
+ public curatorsLimit: number = 5;
+ public numberOfCurators: number = 5;
+
public showMore = [];
public maxCharacters = 500;