]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Add channel information in my videos
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
1 <div class="videos-header">
2 <h1 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1>
3
4 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
5
6 <div class="fake-element"></div>
7 </div>
8
9 <my-videos-selection
10 [pagination]="pagination"
11 [(selection)]="selection"
12 [(videosModel)]="videos"
13 [miniatureDisplayOptions]="miniatureDisplayOptions"
14 [titlePage]="titlePage"
15 [getVideosObservableFunction]="getVideosObservableFunction"
16 [ownerDisplayType]="ownerDisplayType"
17 #videosSelection
18 >
19 <ng-template ptTemplate="globalButtons">
20 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
21 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
22 <ng-container i18n>Delete</ng-container>
23 </span>
24 </ng-template>
25
26 <ng-template ptTemplate="rowButtons" let-video>
27 <div class="action-button">
28 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
29
30 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
31
32 <my-button i18n-label label="Change ownership"
33 className="action-button-change-ownership grey-button"
34 icon="im-with-her"
35 (click)="changeOwnership($event, video)"
36 ></my-button>
37 </div>
38 </ng-template>
39 </my-videos-selection>
40
41
42 <my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>