From dc8902634864841be7ca483b8e1c0f5afa609c32 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 17:12:18 +0200 Subject: Add show channel button in account page --- .../account-video-channels/account-video-channels.component.html | 6 +++++- .../account-video-channels/account-video-channels.component.ts | 4 ++++ client/src/app/shared/video/video-miniature.component.scss | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index e9c8179b7..cb23bb522 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html @@ -5,7 +5,7 @@
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 4d07d653f..7144f4b5f 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts @@ -89,4 +89,8 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy { this.loadMoreChannels() } + + getVideoChannelLink (videoChannel: VideoChannel) { + return [ '/video-channels', videoChannel.nameWithHost ] + } } diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index dac178bde..3658ee3c0 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss @@ -9,7 +9,7 @@ $more-margin-right: 10px; width: $video-miniature-width; display: inline-flex; flex-direction: column; - margin-bottom: 30px; + margin-bottom: $video-miniature-margin-bottom; height: 195px; vertical-align: top; -- cgit v1.2.3