]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Fix regressions sub-menu titles on mobile-view
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
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-delete-button label (click)="deleteVideo(video)"></my-delete-button>
693263e9 38
30814423 39 <my-edit-button label [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
693263e9 40
8a3183e5
K
41 <my-button i18n-label label="Change ownership"
42 className="action-button-change-ownership grey-button"
c41c0e28 43 icon="ownership-change"
8a3183e5
K
44 (click)="changeOwnership($event, video)"
45 ></my-button>
46 </div>
693263e9
C
47 </ng-template>
48</my-videos-selection>
6e33bf28 49
74d63469 50
457bb213 51<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>