diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:14:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:15:50 +0200 |
commit | 34c7f429e411fb911dfa56a816b638fd665717a4 (patch) | |
tree | af6b7658788a2304301a4793b7e9a293c8d2e1e6 /client/src/app/shared/video/abstract-video-list.html | |
parent | e6b04e0e796c1b36d15fbe732e89ef4820dcabd9 (diff) | |
download | PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.gz PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.zst PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.zip |
Group videos on chronological order
Diffstat (limited to 'client/src/app/shared/video/abstract-video-list.html')
-rw-r--r-- | client/src/app/shared/video/abstract-video-list.html | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/client/src/app/shared/video/abstract-video-list.html b/client/src/app/shared/video/abstract-video-list.html index 14f48b54b..11cf1bd92 100644 --- a/client/src/app/shared/video/abstract-video-list.html +++ b/client/src/app/shared/video/abstract-video-list.html | |||
@@ -22,11 +22,18 @@ | |||
22 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" | 22 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" |
23 | class="videos" | 23 | class="videos" |
24 | > | 24 | > |
25 | <my-video-miniature | 25 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> |
26 | *ngFor="let video of videos; trackBy: videoById" [video]="video" [user]="user" [ownerDisplayType]="ownerDisplayType" | 26 | <div class="date-title" *ngIf="getCurrentGroupedDateLabel(video)"> |
27 | [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions" | 27 | {{ getCurrentGroupedDateLabel(video) }} |
28 | (videoBlacklisted)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)" | 28 | </div> |
29 | > | 29 | |
30 | </my-video-miniature> | 30 | |
31 | <my-video-miniature | ||
32 | [video]="video" [user]="user" [ownerDisplayType]="ownerDisplayType" | ||
33 | [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions" | ||
34 | (videoBlacklisted)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)" | ||
35 | > | ||
36 | </my-video-miniature> | ||
37 | </ng-container> | ||
31 | </div> | 38 | </div> |
32 | </div> | 39 | </div> |