]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Use default nsfw instance policy for search index
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
7c1f3e73 1<div class="videos-header">
aa0f1963 2 <h4 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4>
aa0f1963 3
bf64ed41 4 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
7c1f3e73
C
5
6 <div class="fake-element"></div>
bf64ed41
RK
7</div>
8
693263e9 9<my-videos-selection
8c6781e9 10 [pagination]="pagination"
693263e9
C
11 [(selection)]="selection"
12 [(videosModel)]="videos"
13 [miniatureDisplayOptions]="miniatureDisplayOptions"
14 [titlePage]="titlePage"
15 [getVideosObservableFunction]="getVideosObservableFunction"
16 #videosSelection
17>
18 <ng-template ptTemplate="globalButtons">
19 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
6ad971d5 20 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
693263e9
C
21 <ng-container i18n>Delete</ng-container>
22 </span>
23 </ng-template>
24
25 <ng-template ptTemplate="rowButtons" let-video>
8a3183e5
K
26 <div class="action-button">
27 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
693263e9 28
8a3183e5 29 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
693263e9 30
8a3183e5
K
31 <my-button i18n-label label="Change ownership"
32 className="action-button-change-ownership grey-button"
33 icon="im-with-her"
34 (click)="changeOwnership($event, video)"
35 ></my-button>
36 </div>
693263e9
C
37 </ng-template>
38</my-videos-selection>
6e33bf28 39
74d63469 40
457bb213 41<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>