]>
Commit | Line | Data |
---|---|---|
a64668c0 C |
1 | <div class="row col-md-12 videos-info"> |
2 | <div class="col-md-9 col-xs-5 videos-total-results"> | |
0629423c | 3 | <span *ngIf="pagination.totalItems !== null">{{ pagination.totalItems }} videos</span> |
1cdb5c0f | 4 | |
0629423c | 5 | <my-loader [loading]="loading | async"></my-loader> |
1cdb5c0f | 6 | </div> |
a64668c0 C |
7 | |
8 | ||
9 | <my-video-sort class="col-md-3 col-xs-7" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort> | |
cf20596c C |
10 | </div> |
11 | ||
32294074 | 12 | <div class="videos-miniatures"> |
bddab65a | 13 | <div class="col-md-12 no-video" *ngIf="isThereNoVideo()">There is no video.</div> |
32294074 | 14 | |
bddab65a C |
15 | <my-video-miniature |
16 | class="ng-animate" | |
17 | *ngFor="let video of videos" [video]="video" [user]="user" [currentSort]="sort" (removed)="onRemoved(video)" | |
18 | > | |
32294074 C |
19 | </my-video-miniature> |
20 | </div> | |
21 | ||
0629423c C |
22 | <pagination *ngIf="pagination.totalItems !== null" |
23 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" | |
bddab65a | 24 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" |
32294074 | 25 | ></pagination> |