]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Fix pagination in my videos page
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
1 <my-videos-selection
2 [pagination]="pagination"
3 [(selection)]="selection"
4 [(videosModel)]="videos"
5 [miniatureDisplayOptions]="miniatureDisplayOptions"
6 [titlePage]="titlePage"
7 [getVideosObservableFunction]="getVideosObservableFunction"
8 #videosSelection
9 >
10 <ng-template ptTemplate="globalButtons">
11 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
12 <my-global-icon iconName="delete"></my-global-icon>
13 <ng-container i18n>Delete</ng-container>
14 </span>
15 </ng-template>
16
17 <ng-template ptTemplate="rowButtons" let-video>
18 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
19
20 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
21
22 <my-button i18n-label label="Change ownership"
23 className="action-button-change-ownership"
24 icon="im-with-her"
25 (click)="changeOwnership($event, video)"
26 ></my-button>
27 </ng-template>
28 </my-videos-selection>
29
30
31 <my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>