]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/angular/videos/components/list/videos-list.component.html
Add pagination support to the client
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / list / videos-list.component.html
1 <div class="videos-miniatures">
2 <div *ngIf="videos.length === 0">There is no video.</div>
3
4 <my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
5 </my-video-miniature>
6 </div>
7
8 <pagination
9 [totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [(ngModel)]="pagination.currentPage"
10 (ngModelChange)="getVideos()"
11 ></pagination>