]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular/videos/components/list/videos-list.component.html
Extends the search feature by customizing the search field (name,
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / list / videos-list.component.html
index 75b860f387577dedfbe487b5421f3ae695721581..776339d10be21550d8b35707b7c81ffe79fec58f 100644 (file)
@@ -1,11 +1,3 @@
-<div *ngFor="#video of videos" class="video">
-  <div>
-    <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a>
-    <span class="video_pod_url">{{ video.podUrl }}</span>
-    <span *ngIf="video.isLocal === true && user && video.author === user.username" (click)="removeVideo(video.id)" class="video_remove glyphicon glyphicon-remove"></span>
-  </div>
-
-  <div class="video_description">
-    {{ video.description }}
-  </div>
-</div>
+<div *ngIf="videos.length === 0">There is no video.</div>
+<my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
+</my-video-miniature>