X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-miniature.component.html;h=d354a2930c38326c40ea3707df5a801be82d79b6;hb=62e7be634bc189f942ae51cb4b080079ab503ff0;hp=5d5691b7573d20546f1fbd73e0ce5f2a03be57ca;hpb=dedc7abb7beccb0b3a4a4fa4e8ccfef8ceecd5a6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index 5d5691b75..d354a2930 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html @@ -1,5 +1,11 @@ -
- +
+ + Unlisted + Private +
@@ -7,32 +13,34 @@ tabindex="-1" class="video-miniature-name" [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }" - > - - Unlisted - Private - + >{{ video.name }} - {{ video.name }} - +
+ - - {{ video.publishedAt | myFromNow }} - - - {{ video.views | myNumberFormatter }} views - - - - - {{ video.byVideoChannel }} - - -
- {{ video.privacy.label }} - - - {{ getStateLabel(video) }} +
+ + + + + • + {video.views, plural, =1 {1 view} other {{{ video.views | myNumberFormatter }} views}} + + + + + + {{ video.byVideoChannel }} + + +
+ {{ video.privacy.label }} + - + {{ getStateLabel(video) }} +
+
@@ -46,9 +54,9 @@
- +