mirror of https://github.com/Chocobozzz/PeerTube
22 lines
856 B
HTML
22 lines
856 B
HTML
<div class="video-miniature">
|
|
<my-video-thumbnail [video]="video" [nsfw]="isVideoBlur()"></my-video-thumbnail>
|
|
|
|
<div class="video-miniature-information">
|
|
<a
|
|
class="video-miniature-name"
|
|
[routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur() }"
|
|
>
|
|
{{ video.name }}
|
|
</a>
|
|
|
|
<span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
|
|
|
|
<a *ngIf="displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">
|
|
{{ video.byAccount }}
|
|
</a>
|
|
<a *ngIf="displayOwnerVideoChannel()" class="video-miniature-channel" [routerLink]="[ '/video-channels', video.byVideoChannel ]">
|
|
{{ video.byVideoChannel }}
|
|
</a>
|
|
</div>
|
|
</div>
|