diff options
Diffstat (limited to 'client/src/app/videos/recommendations/recommended-videos.component.html')
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html index 5f223078a..c82642c1c 100644 --- a/client/src/app/videos/recommendations/recommended-videos.component.html +++ b/client/src/app/videos/recommendations/recommended-videos.component.html | |||
@@ -4,15 +4,17 @@ | |||
4 | <div i18n class="title-page title-page-single"> | 4 | <div i18n class="title-page title-page-single"> |
5 | Other videos | 5 | Other videos |
6 | </div> | 6 | </div> |
7 | <div class="d-flex title-page-autoplay"> | 7 | <div *ngIf="!playlist" class="d-flex title-page-autoplay"> |
8 | <span>Autoplay</span> | 8 | <span i18n>Autoplay</span> |
9 | <p-inputSwitch [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch> | 9 | <p-inputSwitch [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch> |
10 | </div> | 10 | </div> |
11 | </div> | 11 | </div> |
12 | 12 | ||
13 | <div *ngFor="let video of (videos$ | async)"> | 13 | <div *ngFor="let video of (videos$ | async); let i = index; let length = count"> |
14 | <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"> | 14 | <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"> |
15 | </my-video-miniature> | 15 | </my-video-miniature> |
16 | |||
17 | <hr *ngIf="!playlist && i == 0 && length > 1" /> | ||
16 | </div> | 18 | </div> |
17 | </ng-container> | 19 | </ng-container> |
18 | </div> | 20 | </div> |