diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-01 16:14:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-01 16:54:49 +0200 |
commit | 4d5e572f52e000034abb076e4bf7d7044d704f94 (patch) | |
tree | b064e9902bf68e5e67c4f1750779c2e2ef2b47f1 /client/src/app/shared/shared-video-miniature/abstract-video-list.html | |
parent | 0f7407d926cf7774f8f730dba08327569c11680c (diff) | |
download | PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.tar.gz PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.tar.zst PeerTube-4d5e572f52e000034abb076e4bf7d7044d704f94.zip |
Account/channel videos display as rows
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/abstract-video-list.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/abstract-video-list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.html b/client/src/app/shared/shared-video-miniature/abstract-video-list.html index 81c773b5a..ee5df28be 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.html +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.html | |||
@@ -43,7 +43,7 @@ | |||
43 | <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div> | 43 | <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div> |
44 | <div | 44 | <div |
45 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" | 45 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" |
46 | class="videos" | 46 | class="videos" [ngClass]="{ 'display-as-row': displayAsRow() }" |
47 | > | 47 | > |
48 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> | 48 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> |
49 | <h2 class="date-title" *ngIf="getCurrentGroupedDateLabel(video)"> | 49 | <h2 class="date-title" *ngIf="getCurrentGroupedDateLabel(video)"> |
@@ -52,7 +52,7 @@ | |||
52 | 52 | ||
53 | <div class="video-wrapper"> | 53 | <div class="video-wrapper"> |
54 | <my-video-miniature | 54 | <my-video-miniature |
55 | [video]="video" [user]="userMiniature" | 55 | [video]="video" [user]="userMiniature" [displayAsRow]="displayAsRow()" |
56 | [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions" | 56 | [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions" |
57 | (videoBlocked)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)" | 57 | (videoBlocked)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)" |
58 | > | 58 | > |