]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/video-miniature.component.html
use focus-visible polyfill to improve keyboard navigation
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-miniature.component.html
CommitLineData
1f0215a9 1<div class="video-miniature">
0883b324 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"
5f92c4dc
C
8 [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur() }"
9 >
ad9e39fb 10 {{ video.name }}
5f92c4dc 11 </a>
00a44645 12
b1d40cff 13 <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
22a16e36 14
e78980eb 15 <a tabindex="-1" *ngIf="displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">
22a16e36
C
16 {{ video.byAccount }}
17 </a>
e78980eb 18 <a tabindex="-1" *ngIf="displayOwnerVideoChannel()" class="video-miniature-channel" [routerLink]="[ '/video-channels', video.byVideoChannel ]">
22a16e36
C
19 {{ video.byVideoChannel }}
20 </a>
501bc6c2
C
21 </div>
22</div>