diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-17 15:11:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-17 15:11:12 +0200 |
commit | 66dc59076413b9a4aa0899d3192b0bdf03ee654d (patch) | |
tree | 7743a66a4d7a9fb1dba1d4d744c059dcd35c9224 /client/src/app/videos/+video-watch | |
parent | 4195cd2bc5046d4cdf1c677c27cd41f427d7a13a (diff) | |
download | PeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.tar.gz PeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.tar.zst PeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.zip |
Add ability to click on the account in watch page
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 7 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.scss | 5 |
2 files changed, 10 insertions, 2 deletions
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 @@ | |||
22 | </div> | 22 | </div> |
23 | 23 | ||
24 | <div class="video-info-by"> | 24 | <div class="video-info-by"> |
25 | By {{ video.by }} | 25 | <a [routerLink]="[ '/videos', 'search' ]" [queryParams]="{ search: video.account.name }" title="Search videos of this account"> |
26 | <img [src]="getAvatarPath()" alt="Account avatar" /> | 26 | By {{ video.by }} |
27 | <img [src]="getAvatarPath()" alt="Account avatar" /> | ||
28 | </a> | ||
29 | |||
27 | <my-video-feed [syndicationItems]="syndicationItems"></my-video-feed> | 30 | <my-video-feed [syndicationItems]="syndicationItems"></my-video-feed> |
28 | </div> | 31 | </div> |
29 | </div> | 32 | </div> |
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 @@ | |||
73 | align-items: center; | 73 | align-items: center; |
74 | font-size: 13px; | 74 | font-size: 13px; |
75 | 75 | ||
76 | a { | ||
77 | color: black; | ||
78 | display: inline-block; | ||
79 | } | ||
80 | |||
76 | img { | 81 | img { |
77 | @include avatar(18px); | 82 | @include avatar(18px); |
78 | 83 | ||