diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.html b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.html index 5a7221858..d433c7aba 100644 --- a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.html +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.html @@ -1,11 +1,20 @@ -
+
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss index 1ff8fb96e..71c5e4b5a 100644 --- a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss @@ -20,23 +20,11 @@ position: relative; margin-bottom: 5px; - &.generic-channel { - .account { - @include main(); - } - - .channel { - display: none !important; - } + .main-avatar { + @include main(); } - &:not(.generic-channel) { - .account { - @include secondary(); - } - - .channel { - @include main(); - } + .second-avatar { + @include secondary(); } } diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.ts b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.ts index 63edd7bad..146c440b3 100644 --- a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.ts +++ b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.ts @@ -10,7 +10,8 @@ export class VideoAvatarChannelComponent implements OnInit { @Input() video: Video @Input() byAccount: string - @Input() genericChannel: boolean + @Input() showAccount: boolean + @Input() showChannel: boolean channelLinkTitle = '' accountLinkTitle = '' diff --git a/client/src/app/+videos/+video-watch/video-watch.component.html b/client/src/app/+videos/+video-watch/video-watch.component.html index 45cfba167..df74a818b 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html @@ -60,7 +60,7 @@
- +