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