Project

General

Profile

« Previous | Next » 

Revision 58616

[Trunk | Connect]:
1. community.component.ts: Add fields 'public thresholdDescription: number = 550;' and 'subscribers: number = 0;' and method 'public countSubscribersEvent($event)'.
2. community.component.html:
a. Move curatos, projects & content providers, zenodo communities inside tab 'Summary'.
b. In tab names add class 'tab-header' and remove 'uk-text-bold'.
c. Cut description according to 'thresholdDescription'.
3. curators.component.html: Add 'uk-inline-block' class in <a>, in order not to break name and surname of a curator into 2 lines.
4. results.component.ts: Add 'view all' link on top right corner too and change class of link to 'uk-button uk-button-text'.
5. subscribe.component.ts: Add output event when getting subscribers number (used by community.component to add margin in needed).

View differences:

community.component.ts
64 64
  zenodoCommunityIdS = [];
65 65
  showAllSubjects = false;
66 66
  showAllDescription = false;
67
  public thresholdDescription: number = 550;
68

  
69
  subscribers: number = 0;
70

  
67 71
  // TODO Unsubscribe
68 72
  public subPublications;
69 73
  public subResearchData;
......
398 402
    tooltipContent += "</div>";
399 403
    return tooltipContent;
400 404
  }
405

  
406
  public countSubscribersEvent($event){
407
    this.subscribers = $event.value;
408
  }
401 409
}

Also available in: Unified diff