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