]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/account/account-videos/account-videos.component.html
Add delete button to my videos
[github/Chocobozzz/PeerTube.git] / client / src / app / account / account-videos / account-videos.component.html
CommitLineData
202f6b6c
C
1<div
2 infiniteScroll
3 [infiniteScrollDistance]="0.5"
a2b817d3 4 [infiniteScrollUpDistance]="1.5"
202f6b6c 5 (scrolled)="onNearOfBottom()"
a2b817d3 6 (scrolledUp)="onNearOfTop()"
202f6b6c 7>
d2cc03aa 8 <div class="video" *ngFor="let video of videos">
202f6b6c 9 <my-video-thumbnail [video]="video"></my-video-thumbnail>
d2cc03aa
C
10
11 <div class="video-info">
12 <div class="video-info-name">{{ video.name }}</div>
be447678 13 <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
d2cc03aa
C
14 </div>
15
332542bc
C
16 <a class="action-button action-button-delete" (click)="deleteVideo(video)">
17 <span class="icon icon-delete"></span>
18 Delete
19 </a>
20
21 <a class="action-button" [routerLink]="[ '/videos', video.id, '/edit' ]">
d2cc03aa
C
22 <span class="icon icon-edit"></span>
23 Edit
24 </a>
202f6b6c
C
25 </div>
26</div>