aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-list/video-list.component.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-18 15:39:10 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-18 15:39:10 +0200
commitbddab65ae58e347693b777cccf791201fdbcff4d (patch)
tree9d3c35c8ab9ef7bfb99ebe95b79c5309a7025112 /client/src/app/videos/video-list/video-list.component.html
parent0629423ce335137ce77d1ee8fe30fc0eee36d83b (diff)
downloadPeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.tar.gz
PeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.tar.zst
PeerTube-bddab65ae58e347693b777cccf791201fdbcff4d.zip
Client: save page params as well
Diffstat (limited to 'client/src/app/videos/video-list/video-list.component.html')
-rw-r--r--client/src/app/videos/video-list/video-list.component.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.html b/client/src/app/videos/video-list/video-list.component.html
index 0e17ef2c4..e119517a8 100644
--- a/client/src/app/videos/video-list/video-list.component.html
+++ b/client/src/app/videos/video-list/video-list.component.html
@@ -8,13 +8,16 @@
8</div> 8</div>
9 9
10<div class="videos-miniatures"> 10<div class="videos-miniatures">
11 <div class="col-md-12 no-video" *ngIf="noVideo()">There is no video.</div> 11 <div class="col-md-12 no-video" *ngIf="isThereNoVideo()">There is no video.</div>
12 12
13 <my-video-miniature class="ng-animate "*ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)"> 13 <my-video-miniature
14 class="ng-animate"
15 *ngFor="let video of videos" [video]="video" [user]="user" [currentSort]="sort" (removed)="onRemoved(video)"
16 >
14 </my-video-miniature> 17 </my-video-miniature>
15</div> 18</div>
16 19
17<pagination *ngIf="pagination.totalItems !== null" 20<pagination *ngIf="pagination.totalItems !== null"
18 [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" 21 [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false"
19 [(ngModel)]="pagination.currentPage" (pageChanged)="getVideos()" 22 [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)"
20></pagination> 23></pagination>