]>
Commit | Line | Data |
---|---|---|
202f6b6c C |
1 | <div |
2 | infiniteScroll | |
3 | [infiniteScrollDistance]="0.5" | |
4 | (scrolled)="onNearOfBottom()" | |
5 | > | |
d2cc03aa | 6 | <div class="video" *ngFor="let video of videos"> |
202f6b6c | 7 | <my-video-thumbnail [video]="video"></my-video-thumbnail> |
d2cc03aa C |
8 | |
9 | <div class="video-info"> | |
10 | <div class="video-info-name">{{ video.name }}</div> | |
be447678 | 11 | <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span> |
d2cc03aa C |
12 | </div> |
13 | ||
14 | <a class="edit-button" [routerLink]="[ '/videos', video.id, '/edit' ]"> | |
15 | <span class="icon icon-edit"></span> | |
16 | Edit | |
17 | </a> | |
202f6b6c C |
18 | </div> |
19 | </div> |