From c2caa99b942dea7fa9d2856f53efd1316169658e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 8 Jun 2020 08:52:06 +0200 Subject: Add channel/account avatars in miniature (#2838) * add small avatar to miniature * fix svg size for trending and search icons in plugins view * parametrize avatar in miniature display options --- .../shared/video/video-miniature.component.html | 44 ++++++++++++---------- 1 file changed, 25 insertions(+), 19 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 8e948ce42..c9ac97762 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html @@ -15,26 +15,32 @@ [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur }" >{{ video.name }} - - +
+ - - - {video.views, plural, =1 {1 view} other {{{ 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) }} +
+
-- cgit v1.2.3