]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/account/account-videos/account-videos.component.html
Fix deleting a video with comments
[github/Chocobozzz/PeerTube.git] / client / src / app / account / account-videos / account-videos.component.html
index f69c0487d0d8d2559cd40034d25a80d0b27a9793..0755158b98050ce55d6db588900cdec189d845b7 100644 (file)
@@ -1,3 +1,5 @@
+<div *ngIf="pagination.totalItems === 0">No results.</div>
+
 <div
   class="videos"
   infiniteScroll
@@ -7,12 +9,15 @@
   (scrolledUp)="onNearOfTop()"
 >
   <div class="video" *ngFor="let video of videos; let i = index">
-    <input type="checkbox" [(ngModel)]="checkedVideos[video.id]" />
+    <div class="checkbox-container">
+      <input [id]="'video-check-' + i" type="checkbox" [(ngModel)]="checkedVideos[video.id]" />
+      <label [for]="'video-check-' + i"></label>
+    </div>
 
     <my-video-thumbnail [video]="video"></my-video-thumbnail>
 
     <div class="video-info">
-      <div class="video-info-name">{{ video.name }}</div>
+      <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a>
       <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
     </div>