diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-07 11:20:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-07 11:20:58 +0200 |
commit | 95166f9aafa378a2d39fd76ef773f39dcb3f8b39 (patch) | |
tree | c0b91ee127bed329c9176aad85f26cbf611748b3 /client/src/app/videos | |
parent | 13a6b53655cdd7baba494abc3c9ff52788d4651e (diff) | |
download | PeerTube-95166f9aafa378a2d39fd76ef773f39dcb3f8b39.tar.gz PeerTube-95166f9aafa378a2d39fd76ef773f39dcb3f8b39.tar.zst PeerTube-95166f9aafa378a2d39fd76ef773f39dcb3f8b39.zip |
Add link to the channel page in watch page
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 4 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.scss | 10 |
2 files changed, 13 insertions, 1 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 f38e90927..402a91647 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -17,7 +17,9 @@ | |||
17 | </div> | 17 | </div> |
18 | 18 | ||
19 | <div class="video-info-channel"> | 19 | <div class="video-info-channel"> |
20 | {{ video.channel.displayName }} | 20 | <a [routerLink]="[ '/video-channels', video.channel.id ]" title="Go the channel page"> |
21 | {{ video.channel.displayName }} | ||
22 | </a> | ||
21 | <!-- Here will be the subscribe button --> | 23 | <!-- Here will be the subscribe button --> |
22 | </div> | 24 | </div> |
23 | 25 | ||
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 b4d9841fe..508c553a4 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss | |||
@@ -66,6 +66,16 @@ | |||
66 | .video-info-channel { | 66 | .video-info-channel { |
67 | font-weight: $font-semibold; | 67 | font-weight: $font-semibold; |
68 | font-size: 15px; | 68 | font-size: 15px; |
69 | |||
70 | a { | ||
71 | @include disable-default-a-behaviour; | ||
72 | |||
73 | color: #000; | ||
74 | |||
75 | &:hover { | ||
76 | opacity: 0.8; | ||
77 | } | ||
78 | } | ||
69 | } | 79 | } |
70 | 80 | ||
71 | .video-info-by a { | 81 | .video-info-by a { |