aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-videos/account-videos.component.html
blob: eb0a32fd36bcc8d4dc787d190a93479ee9bae9ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div
  infiniteScroll
  [infiniteScrollDistance]="0.5"
  (scrolled)="onNearOfBottom()"
>
  <div class="video" *ngFor="let video of videos">
    <my-video-thumbnail [video]="video"></my-video-thumbnail>

    <div class="video-info">
      <div class="video-info-name">{{ video.name }}</div>
      <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
    </div>

    <a class="edit-button" [routerLink]="[ '/videos', video.id, '/edit' ]">
      <span class="icon icon-edit"></span>
      Edit
    </a>
  </div>
</div>