mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Change api output for videos
This commit is contained in:
parent
f0f5567b69
commit
2df82d42cb
8 changed files with 87 additions and 29 deletions
|
@ -1,8 +1,8 @@
|
|||
<div *ngFor="#video of videos" class="video">
|
||||
<div>
|
||||
<a [routerLink]="['VideosWatch', { id: video._id }]" class="video_name">{{ video.name }}</a>
|
||||
<a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a>
|
||||
<span class="video_pod_url">{{ video.podUrl }}</span>
|
||||
<span *ngIf="video.namePath !== null" (click)="removeVideo(video._id)" class="video_remove glyphicon glyphicon-remove"></span>
|
||||
<span *ngIf="video.isLocal === true" (click)="removeVideo(video.id)" class="video_remove glyphicon glyphicon-remove"></span>
|
||||
</div>
|
||||
|
||||
<div class="video_description">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue