From 66dc59076413b9a4aa0899d3192b0bdf03ee654d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Apr 2018 15:11:12 +0200 Subject: Add ability to click on the account in watch page --- client/src/app/videos/+video-watch/video-watch.component.html | 7 +++++-- client/src/app/videos/+video-watch/video-watch.component.scss | 5 +++++ client/src/app/videos/video-list/video-search.component.ts | 3 +-- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'client/src/app/videos') 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 52e3e429a..91e590094 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -22,8 +22,11 @@
- By {{ video.by }} - Account avatar + + By {{ video.by }} + Account avatar + +
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index 8a3e2584b..3ebeccd4b 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -73,6 +73,11 @@ align-items: center; font-size: 13px; + a { + color: black; + display: inline-block; + } + img { @include avatar(18px); diff --git a/client/src/app/videos/video-list/video-search.component.ts b/client/src/app/videos/video-list/video-search.component.ts index ef9afa757..46a9dd48e 100644 --- a/client/src/app/videos/video-list/video-search.component.ts +++ b/client/src/app/videos/video-list/video-search.component.ts @@ -7,7 +7,6 @@ import { Subscription } from 'rxjs/Subscription' import { AuthService } from '../../core/auth' import { AbstractVideoList } from '../../shared/video/abstract-video-list' import { VideoService } from '../../shared/video/video.service' -import { FeedFormat } from '../../../../../shared/models/feeds/feed-format.enum' @Component({ selector: 'my-videos-search', @@ -64,6 +63,6 @@ export class VideoSearchComponent extends AbstractVideoList implements OnInit, O } generateSyndicationList () { - throw new Error('Method not implemented.') + throw new Error('Search does not support syndication.') } } -- cgit v1.2.3