Revision 58653
Added by Konstantina Galouni about 4 years ago
community.component.ts | ||
---|---|---|
65 | 65 |
zenodoCommunityIdS = []; |
66 | 66 |
showAllSubjects = false; |
67 | 67 |
showAllDescription = false; |
68 |
public thresholdDescription: number = 550; |
|
68 |
public thresholdDescription: number = 500; |
|
69 |
public descriptionDiff: number = 100; |
|
69 | 70 |
|
70 | 71 |
subscribers: number = 0; |
71 | 72 |
|
... | ... | |
146 | 147 |
HelperFunctions.scroll(); |
147 | 148 |
} |
148 | 149 |
this.community = community; |
150 |
if(community.description != null && (community.description.length - this.thresholdDescription <= this.descriptionDiff)) { |
|
151 |
this.thresholdDescription = community.description.length; |
|
152 |
} |
|
153 |
|
|
149 | 154 |
if (this.properties.environment == "development") { |
150 | 155 |
this.params = {communityId: community.communityId}; |
151 | 156 |
} |
Also available in: Unified diff
[Trunk | Connect]:
1. community.component:
a. [Bug fix] Add 'uk-tab' and 'uk-active' class to load css without javascript enabled.
b. In tab 'Summary', reorder information - description goes on top.
c. Cut description in first 500 characters, if length > 600, otherwise do not cut it.
2. curators.component: Add 'view all/ less' functionality.