Merging explore-redesign branch into develop for Explore July release #7
|
@ -13,9 +13,9 @@ import {HelperFunctions} from '../../utils/HelperFunctions.class';
|
||||||
</span>
|
</span>
|
||||||
<span *ngIf="!viewAll || lessBtn" class="uk-text-emphasis uk-text-bolder">{{title}}</span>
|
<span *ngIf="!viewAll || lessBtn" class="uk-text-emphasis uk-text-bolder">{{title}}</span>
|
||||||
<a *ngIf="viewAll && lessBtn" (click)="viewAll = !viewAll; lessBtn=false;"
|
<a *ngIf="viewAll && lessBtn" (click)="viewAll = !viewAll; lessBtn=false;"
|
||||||
class="view-more-less-link">View less</a>
|
class="view-more-less-link uk-link-text">View less</a>
|
||||||
<a *ngIf="fundedByProjects && fundedByProjects.length > threshold && !viewAll"
|
<a *ngIf="fundedByProjects && fundedByProjects.length > threshold && !viewAll"
|
||||||
(click)="viewAllClick();" class="view-more-less-link">View all</a>
|
(click)="viewAllClick();" class="view-more-less-link uk-link-text">View all</a>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!isMobile">
|
<div *ngIf="!isMobile">
|
||||||
<span *ngFor="let item of fundedByProjects.slice(0, viewAll?fundedByProjects.length:threshold) let i=index">
|
<span *ngFor="let item of fundedByProjects.slice(0, viewAll?fundedByProjects.length:threshold) let i=index">
|
||||||
|
|
|
@ -19,9 +19,9 @@ import {OpenaireEntities} from "../../utils/properties/searchFields";
|
||||||
{{title}}
|
{{title}}
|
||||||
</span>
|
</span>
|
||||||
<span *ngIf="!viewAll || lessBtn" class="uk-text-emphasis uk-text-bolder">{{title}}</span>
|
<span *ngIf="!viewAll || lessBtn" class="uk-text-emphasis uk-text-bolder">{{title}}</span>
|
||||||
<a *ngIf="viewAll && lessBtn" (click)="viewAll = !viewAll; lessBtn=false;" class="view-more-less-link">View less</a>
|
<a *ngIf="viewAll && lessBtn" (click)="viewAll = !viewAll; lessBtn=false;" class="view-more-less-link uk-link-text">View less</a>
|
||||||
<a *ngIf="communities && communities.length > threshold && !viewAll"
|
<a *ngIf="communities && communities.length > threshold && !viewAll"
|
||||||
(click)="viewAllClick();" class="view-more-less-link">View all</a>
|
(click)="viewAllClick();" class="view-more-less-link uk-link-text">View all</a>
|
||||||
</div>
|
</div>
|
||||||
<div *ngFor="let community of communities.slice(0, viewAll?communities.length:threshold)" class="uk-text-truncate"
|
<div *ngFor="let community of communities.slice(0, viewAll?communities.length:threshold)" class="uk-text-truncate"
|
||||||
[class.uk-margin-small-bottom]="mobileView">
|
[class.uk-margin-small-bottom]="mobileView">
|
||||||
|
|
Loading…
Reference in New Issue