diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:15:55 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:25:24 +0100 |
commit | 6e07c3de88791a0b342e0cc319590048117f9c2d (patch) | |
tree | 049f88d3f6d3ec0aeea09702a583deb86d6ef78f /client/src/app/videos/video-watch | |
parent | 2d7653dc8726185615bab66353c4e3fb8fbb5a5f (diff) | |
download | PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.gz PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.zst PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.zip |
Add video category support
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 | 10 |
2 files changed, 16 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 67094359e..e754d69e5 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -107,6 +107,13 @@ | |||
107 | </div> | 107 | </div> |
108 | </div> | 108 | </div> |
109 | 109 | ||
110 | <div id="video-category" class="row"> | ||
111 | <div class="col-md-12"> | ||
112 | <span id="category-label">Category:</span> | ||
113 | {{ video.categoryLabel }} | ||
114 | </div> | ||
115 | </div> | ||
116 | |||
110 | <div id="video-description" class="row"> | 117 | <div id="video-description" class="row"> |
111 | <div class="col-md-12"> | 118 | <div class="col-md-12"> |
112 | <div id="description-label">Description</div> | 119 | <div id="description-label">Description</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 5f322a194..799e37b5d 100644 --- a/client/src/app/videos/video-watch/video-watch.component.scss +++ b/client/src/app/videos/video-watch/video-watch.component.scss | |||
@@ -111,8 +111,16 @@ | |||
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ||
114 | #video-category { | ||
115 | margin-top: 10px; | ||
116 | |||
117 | #category-label { | ||
118 | font-weight: bold; | ||
119 | } | ||
120 | } | ||
121 | |||
114 | #video-description { | 122 | #video-description { |
115 | margin-top: 15px; | 123 | margin-top: 10px; |
116 | 124 | ||
117 | #description-label { | 125 | #description-label { |
118 | font-weight: bold; | 126 | font-weight: bold; |