blob: 5524ab546ce760930878978f9e0bc1b75b9bab28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<div class="videos-info">
<span class="videos-total-results"> {{ pagination.total }}</span>
<my-video-sort [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
</div>
<div class="videos-miniatures">
<div *ngIf="videos.length === 0">There is no video.</div>
<my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
</my-video-miniature>
</div>
<pagination
[totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [(ngModel)]="pagination.currentPage"
(ngModelChange)="getVideos()"
></pagination>
|