1 <div class="videos-header">
2 <h1 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1>
4 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
6 <div class="fake-element"></div>
10 [pagination]="pagination"
11 [(selection)]="selection"
12 [(videosModel)]="videos"
13 [miniatureDisplayOptions]="miniatureDisplayOptions"
14 [titlePage]="titlePage"
15 [getVideosObservableFunction]="getVideosObservableFunction"
16 [ownerDisplayType]="ownerDisplayType"
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>
26 <ng-template ptTemplate="rowButtons" let-video>
27 <div class="action-button">
28 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
30 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
32 <my-button i18n-label label="Change ownership"
33 className="action-button-change-ownership grey-button"
35 (click)="changeOwnership($event, video)"
39 </my-videos-selection>
42 <my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>