diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-19 11:47:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-19 11:47:02 +0200 |
commit | 41f657c570472d0f96aece3234497f83b760dfa0 (patch) | |
tree | 01f1eb2555d23901ebc20bf01faf0242ebde6acb /client/src/app/videos | |
parent | 0883b3245bf0deb9106c4041e9afbd3521b79280 (diff) | |
download | PeerTube-41f657c570472d0f96aece3234497f83b760dfa0.tar.gz PeerTube-41f657c570472d0f96aece3234497f83b760dfa0.tar.zst PeerTube-41f657c570472d0f96aece3234497f83b760dfa0.zip |
Add help concerning NSFW videos in upload
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.html | 1 | ||||
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.scss | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index 6d0a1600a..9cd3454a0 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html | |||
@@ -100,6 +100,7 @@ | |||
100 | <input type="checkbox" id="nsfw" formControlName="nsfw" /> | 100 | <input type="checkbox" id="nsfw" formControlName="nsfw" /> |
101 | <label for="nsfw"></label> | 101 | <label for="nsfw"></label> |
102 | <label for="nsfw">This video contains mature or explicit content</label> | 102 | <label for="nsfw">This video contains mature or explicit content</label> |
103 | <my-help tooltipPlacement="top" helpType="custom" customHtml="Some instances do not list NSFW videos by default."></my-help> | ||
103 | </div> | 104 | </div> |
104 | 105 | ||
105 | <div class="form-group form-group-checkbox"> | 106 | <div class="form-group form-group-checkbox"> |
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss index 1317f7426..cf64ff589 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss | |||
@@ -9,6 +9,10 @@ | |||
9 | @include peertube-select-disabled-container(auto); | 9 | @include peertube-select-disabled-container(auto); |
10 | } | 10 | } |
11 | 11 | ||
12 | .form-group-checkbox { | ||
13 | my-help { margin-left: 5px } | ||
14 | } | ||
15 | |||
12 | .video-edit { | 16 | .video-edit { |
13 | height: 100%; | 17 | height: 100%; |
14 | 18 | ||