]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Remove uneccessary details to link titles
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
7c1f3e73 1<div class="videos-header">
c9e3565d 2 <h1 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1>
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"
c4a6f790 16 [ownerDisplayType]="ownerDisplayType"
693263e9
C
17 #videosSelection
18>
19 <ng-template ptTemplate="globalButtons">
20 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
6ad971d5 21 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
693263e9
C
22 <ng-container i18n>Delete</ng-container>
23 </span>
24 </ng-template>
25
26 <ng-template ptTemplate="rowButtons" let-video>
8a3183e5
K
27 <div class="action-button">
28 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
693263e9 29
8a3183e5 30 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
693263e9 31
8a3183e5
K
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>
693263e9
C
38 </ng-template>
39</my-videos-selection>
6e33bf28 40
74d63469 41
457bb213 42<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>