Dislike bar in the same color as the button
[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       class="video-miniature-name"
7       [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur() }"
8     >
9       {{ video.name }}
10     </a>
11
12     <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
13
14     <a *ngIf="displayOwnerAccount()" class="video-miniature-account" [routerLink]="[ '/accounts', video.byAccount ]">
15       {{ video.byAccount }}
16     </a>
17     <a *ngIf="displayOwnerVideoChannel()" class="video-miniature-channel" [routerLink]="[ '/video-channels', video.byVideoChannel ]">
18       {{ video.byVideoChannel }}
19     </a>
20   </div>
21 </div>