]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/video/videos-selection.component.html
Add channel information in my videos
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / videos-selection.component.html
1 <div class="no-results" i18n *ngIf="pagination.totalItems === 0">No results.</div>
2
3 <div myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()" class="videos">
4 <div class="video" *ngFor="let video of videos; let i = index; trackBy: videoById">
5
6 <div class="checkbox-container">
7 <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="_selection[video.id]"></my-peertube-checkbox>
8 </div>
9
10 <my-video-miniature
11 [video]="video" [displayAsRow]="true" [displayOptions]="miniatureDisplayOptions"
12 [displayVideoActions]="false" [ownerDisplayType]="ownerDisplayType"
13 ></my-video-miniature>
14
15 <!-- Display only once -->
16 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
17 <div class="action-selection-mode-child">
18 <span i18n class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
19 Cancel
20 </span>
21
22 <ng-container *ngTemplateOutlet="globalButtonsTemplate"></ng-container>
23 </div>
24 </div>
25
26 <ng-container *ngIf="isInSelectionMode() === false">
27 <ng-container *ngTemplateOutlet="rowButtonsTemplate; context: {$implicit: video}"></ng-container>
28 </ng-container>
29 </div>
30 </div>