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:

results.component.ts
10 10
    <div *ngIf="!results && total != 0">
11 11
        <div *ngIf="showLoading" class="uk-animation-fade uk-width-1-1" role="alert"><span class="loading-gif uk-align-center"></span></div>
12 12
    </div>
13
    <div *ngIf="results != null && results.length > 0">
14
      <div class="uk-text-right">
15
        <div>
16
          <a class="el-content uk-button uk-button-text" [queryParams]="{type:getresultTypeLink(resultType, true), qf:false}" routerLinkActive="router-link-active" [routerLink]="properties.searchLinkToResults">
17
            View all {{getEntityName(resultType, true, true)}}
18
          </a>
19
        </div>
20
      </div>
21
    </div>
13 22
    <div *ngIf="results != null && results.length > 0 && !showLoading">
14 23
      <!--<div class="uk-margin-remove-vertical uk-grid-match uk-child-width-1-1 uk-child-width-1-1@m uk-child-width-1-1@l uk-child-width-1-1@xl uk-grid-small uk-grid uk-grid-stack" uk-grid="">
15 24
        <li *ngFor="let item of results; let i = index">
......
46 55
     <div *ngIf="results != null && results.length > 0">
47 56
       <div class="uk-text-right">
48 57
         <div>
49
           <a class="el-content uk-link portal-link uk-text-capitalize" [queryParams]="{type:getresultTypeLink(resultType, true), qf:false}" routerLinkActive="router-link-active" [routerLink]="properties.searchLinkToResults">
50
             View all {{getEntityName(resultType, true, true)}} >
58
           <a class="el-content uk-button uk-button-text" [queryParams]="{type:getresultTypeLink(resultType, true), qf:false}" routerLinkActive="router-link-active" [routerLink]="properties.searchLinkToResults">
59
             View all {{getEntityName(resultType, true, true)}}
51 60
           </a>
52 61
         </div>
53 62
       </div>

Also available in: Unified diff