aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/components/list/videos-list.component.html
blob: 4eeacbc77ce983ce246a6b6af1adc598c81da7a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<div *ngIf="videos.length === 0">There is no video.</div>
<div *ngFor="let 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>