diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-08 08:52:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 08:52:06 +0200 |
commit | c2caa99b942dea7fa9d2856f53efd1316169658e (patch) | |
tree | 76dfa301d6fef72f6bdab38b2bf33bbac7cdb5b6 /client/src/app/shared/video/video-miniature.component.ts | |
parent | c87d45df9b2f0d018d866d096c45ab70269105a5 (diff) | |
download | PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.tar.gz PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.tar.zst PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.zip |
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
Diffstat (limited to 'client/src/app/shared/video/video-miniature.component.ts')
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index 72b652448..88b21b3a5 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts | |||
@@ -24,6 +24,7 @@ export type MiniatureDisplayOptions = { | |||
24 | date?: boolean | 24 | date?: boolean |
25 | views?: boolean | 25 | views?: boolean |
26 | by?: boolean | 26 | by?: boolean |
27 | avatar?: boolean | ||
27 | privacyLabel?: boolean | 28 | privacyLabel?: boolean |
28 | privacyText?: boolean | 29 | privacyText?: boolean |
29 | state?: boolean | 30 | state?: boolean |
@@ -46,6 +47,7 @@ export class VideoMiniatureComponent implements OnInit { | |||
46 | date: true, | 47 | date: true, |
47 | views: true, | 48 | views: true, |
48 | by: true, | 49 | by: true, |
50 | avatar: false, | ||
49 | privacyLabel: false, | 51 | privacyLabel: false, |
50 | privacyText: false, | 52 | privacyText: false, |
51 | state: false, | 53 | state: false, |