show 'more authors' for result preview
This commit is contained in:
parent
d01ba65537
commit
657ff61207
|
@ -76,6 +76,9 @@ import {properties} from "../../../../environments/environment";
|
||||||
<ng-container *ngFor="let author of authors.slice(0, viewAll?authors.length:authorsLimit) let i=index">
|
<ng-container *ngFor="let author of authors.slice(0, viewAll?authors.length:authorsLimit) let i=index">
|
||||||
<ng-container *ngTemplateOutlet="author_template; context: { author: author, i:i}"></ng-container>
|
<ng-container *ngTemplateOutlet="author_template; context: { author: author, i:i}"></ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
<span *ngIf="!showAll && authors && authors.length > authorsLimit" class="uk-text-meta">
|
||||||
|
+{{authors.length-authorsLimit | number}} more
|
||||||
|
</span>
|
||||||
<span *ngIf="showAll && authors && authors.length > authorsLimit && !viewAll">
|
<span *ngIf="showAll && authors && authors.length > authorsLimit && !viewAll">
|
||||||
<a (click)="viewAllClick();">
|
<a (click)="viewAllClick();">
|
||||||
+{{authors.length-authorsLimit | number}} Authors
|
+{{authors.length-authorsLimit | number}} Authors
|
||||||
|
|
Loading…
Reference in New Issue