]>
Commit | Line | Data |
---|---|---|
d607fc24 | 1 | <h1> |
4f5d0459 RK |
2 | <span> |
3 | <my-global-icon iconName="videos" aria-hidden="true"></my-global-icon> | |
4 | <ng-container i18n>My videos</ng-container> | |
5 | <span class="badge badge-secondary"> {{ pagination.totalItems }}</span> | |
6 | </span> | |
d607fc24 | 7 | </h1> |
aa0f1963 | 8 | |
d607fc24 | 9 | <div class="videos-header d-flex justify-content-between"> |
4f5d0459 | 10 | <div class="has-feedback has-clear"> |
d607fc24 | 11 | <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" |
12 | (ngModelChange)="onVideosSearchChanged()" /> | |
4f5d0459 RK |
13 | <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a> |
14 | <span class="sr-only" i18n>Clear filters</span> | |
15 | </div> | |
d607fc24 | 16 | </div> |
bf64ed41 | 17 | |
693263e9 | 18 | <my-videos-selection |
8c6781e9 | 19 | [pagination]="pagination" |
693263e9 C |
20 | [(selection)]="selection" |
21 | [(videosModel)]="videos" | |
22 | [miniatureDisplayOptions]="miniatureDisplayOptions" | |
23 | [titlePage]="titlePage" | |
24 | [getVideosObservableFunction]="getVideosObservableFunction" | |
c4a6f790 | 25 | [ownerDisplayType]="ownerDisplayType" |
693263e9 C |
26 | #videosSelection |
27 | > | |
28 | <ng-template ptTemplate="globalButtons"> | |
29 | <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()"> | |
6ad971d5 | 30 | <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon> |
693263e9 C |
31 | <ng-container i18n>Delete</ng-container> |
32 | </span> | |
33 | </ng-template> | |
34 | ||
35 | <ng-template ptTemplate="rowButtons" let-video> | |
8a3183e5 | 36 | <div class="action-button"> |
30814423 | 37 | <my-edit-button label [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button> |
693263e9 | 38 | |
d846d99c | 39 | <my-action-dropdown [actions]="videoActions" [entry]="{ video: video }"></my-action-dropdown> |
8a3183e5 | 40 | </div> |
693263e9 C |
41 | </ng-template> |
42 | </my-videos-selection> | |
6e33bf28 | 43 | |
74d63469 | 44 | |
457bb213 | 45 | <my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership> |
d846d99c | 46 | <my-live-stream-information #liveStreamInformationModal></my-live-stream-information> |