]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/video-miniature.component.html
Set thumbnail height
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-miniature.component.html
CommitLineData
1f0215a9 1<div class="video-miniature">
89724816 2 <my-video-thumbnail [video]="video" [nsfw]="isVideoBlur"></my-video-thumbnail>
501bc6c2 3
d6e32a2e 4 <div class="video-miniature-information">
5f92c4dc 5 <a
e78980eb 6 tabindex="-1"
57c36b27 7 class="video-miniature-name"
89724816 8 [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }"
5f92c4dc 9 >
cc1903ad
C
10 <span *ngIf="isUnlistedVideo()" class="badge badge-warning" i18n>Unlisted</span>
11 <span *ngIf="isPrivateVideo()" class="badge badge-danger" i18n>Private</span>
650e3d5c
C
12
13 {{ video.name }}
5f92c4dc 14 </a>
00a44645 15
b1d40cff 16 <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
22a16e36 17
e78980eb 18 <a tabindex="-1" *ngIf="displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">
22a16e36
C
19 {{ video.byAccount }}
20 </a>
e78980eb 21 <a tabindex="-1" *ngIf="displayOwnerVideoChannel()" class="video-miniature-channel" [routerLink]="[ '/video-channels', video.byVideoChannel ]">
22a16e36
C
22 {{ video.byVideoChannel }}
23 </a>
501bc6c2
C
24 </div>
25</div>