]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Refactor video miniatures
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
b1d40cff 1<div i18n *ngIf="pagination.totalItems === 0">No results.</div>
6e33bf28 2
489290b8
C
3<div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" class="videos">
4 <div class="video" *ngFor="let video of videos; let i = index">
5 <div class="checkbox-container">
6 <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="checkedVideos[video.id]"></my-peertube-checkbox>
7 </div>
ce0e281d 8
e2409062 9 <my-video-miniature [video]="video" [displayOptions]="miniatureDisplayOptions" [displayAsRow]="true"></my-video-miniature>
d2cc03aa 10
489290b8
C
11 <!-- Display only once -->
12 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
13 <div class="action-selection-mode-child">
14 <span i18n class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
15 Cancel
16 </span>
17
18 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
19 <my-global-icon iconName="delete"></my-global-icon>
20 <ng-container i18n>Delete</ng-container>
21 </span>
ce0e281d 22 </div>
489290b8 23 </div>
ce0e281d 24
489290b8
C
25 <div class="video-buttons" *ngIf="isInSelectionMode() === false">
26 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
332542bc 27
489290b8 28 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
74d63469 29
489290b8
C
30 <my-button i18n-label label="Change ownership"
31 className="action-button-change-ownership"
32 icon="im-with-her"
33 (click)="changeOwnership($event, video)"
34 ></my-button>
9b7d1c72 35 </div>
202f6b6c
C
36 </div>
37</div>
74d63469 38
457bb213 39<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>