cfc483018d7471934e04fbd43253418743c31fd3
[oweals/peertube.git] / client / src / app / shared / video / video-miniature.component.html
1 <div class="video-miniature">
2   <my-video-thumbnail [video]="video" [nsfw]="isVideoBlur"></my-video-thumbnail>
3
4   <div class="video-miniature-information">
5     <a
6       tabindex="-1"
7       class="video-miniature-name"
8       [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }"
9     >
10       {{ video.name }}
11     </a>
12
13     <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
14
15     <a tabindex="-1" *ngIf="displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">
16       {{ video.byAccount }}
17     </a>
18     <a tabindex="-1" *ngIf="displayOwnerVideoChannel()" class="video-miniature-channel" [routerLink]="[ '/video-channels', video.byVideoChannel ]">
19       {{ video.byVideoChannel }}
20     </a>
21   </div>
22 </div>