From e2409062dedf8856c56ef1bdc98ca623e21c4f3b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Apr 2019 16:17:41 +0200 Subject: Refactor video miniatures --- .../shared/video/video-miniature.component.html | 34 ++++++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'client/src/app/shared/video/video-miniature.component.html') diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index 2c635fa2f..f4ae0b0dd 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html @@ -1,4 +1,4 @@ -
+
@@ -7,19 +7,41 @@ class="video-miniature-name" [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }" > - Unlisted - Private + + Unlisted + Private + {{ video.name }} - {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views + + {{ video.publishedAt | myFromNow }} + - + {{ video.views | myNumberFormatter }} views + - - + {{ video.byVideoChannel }} + +
+ {{ video.privacy.label }} + - + {{ getStateLabel(video) }} +
+ +
+ Blacklisted + {{ video.blacklistedReason }} +
+ +
+ Sensitive +
+
-- cgit v1.2.3