]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/videos-selection.component.html
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-miniature / videos-selection.component.html
CommitLineData
2e46eb97 1<div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">{{ noResultMessage }}</div>
693263e9 2
dd24f1bb
C
3<div
4 class="videos"
0af2a8c5
C
5 myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"
6 [parentDisabled]="disabled" [setAngularState]="true"
dd24f1bb 7>
8c6781e9
C
8 <div class="video" *ngFor="let video of videos; let i = index; trackBy: videoById">
9
2e46eb97 10 <div class="checkbox-container" *ngIf="enableSelection">
693263e9
C
11 <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="_selection[video.id]"></my-peertube-checkbox>
12 </div>
13
c4a6f790 14 <my-video-miniature
38a3ccc7 15 [containedInPlaylists]="videosContainedInPlaylists ? videosContainedInPlaylists[video.id] : undefined"
c4a6f790 16 [video]="video" [displayAsRow]="true" [displayOptions]="miniatureDisplayOptions"
733dbc53 17 [displayVideoActions]="false" [user]="user"
c4a6f790 18 ></my-video-miniature>
693263e9
C
19
20 <!-- Display only once -->
21 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
22 <div class="action-selection-mode-child">
d0fbc9fd 23 <button i18n class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
693263e9 24 Cancel
d0fbc9fd 25 </button>
693263e9
C
26
27 <ng-container *ngTemplateOutlet="globalButtonsTemplate"></ng-container>
28 </div>
29 </div>
30
31 <ng-container *ngIf="isInSelectionMode() === false">
32 <ng-container *ngTemplateOutlet="rowButtonsTemplate; context: {$implicit: video}"></ng-container>
33 </ng-container>
34 </div>
35</div>