diff options
Diffstat (limited to 'client/src/app/videos/video-list/shared/abstract-video-list.html')
-rw-r--r-- | client/src/app/videos/video-list/shared/abstract-video-list.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/client/src/app/videos/video-list/shared/abstract-video-list.html b/client/src/app/videos/video-list/shared/abstract-video-list.html index ab5530e68..69e16319e 100644 --- a/client/src/app/videos/video-list/shared/abstract-video-list.html +++ b/client/src/app/videos/video-list/shared/abstract-video-list.html | |||
@@ -2,15 +2,17 @@ | |||
2 | {{ titlePage }} | 2 | {{ titlePage }} |
3 | </div> | 3 | </div> |
4 | 4 | ||
5 | <div class="videos-miniatures"> | 5 | <div |
6 | class="videos-miniatures" | ||
7 | infiniteScroll | ||
8 | [infiniteScrollUpDistance]="1.5" | ||
9 | [infiniteScrollDistance]="0.5" | ||
10 | (scrolled)="onNearOfBottom()" | ||
11 | (scrolledUp)="onNearOfTop()" | ||
12 | > | ||
6 | <my-video-miniature | 13 | <my-video-miniature |
7 | class="ng-animate" | 14 | class="ng-animate" |
8 | *ngFor="let video of videos" [video]="video" [user]="user" [currentSort]="sort" | 15 | *ngFor="let video of videos" [video]="video" [user]="user" [currentSort]="sort" |
9 | > | 16 | > |
10 | </my-video-miniature> | 17 | </my-video-miniature> |
11 | </div> | 18 | </div> |
12 | |||
13 | <pagination *ngIf="pagination.totalItems !== null && pagination.totalItems !== 0" | ||
14 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" | ||
15 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" | ||
16 | ></pagination> | ||