Add help concerning NSFW videos in upload
This commit is contained in:
parent
0883b3245b
commit
41f657c570
|
@ -10,9 +10,6 @@
|
|||
<option value="display">Display</option>
|
||||
</select>
|
||||
</div>
|
||||
<div *ngIf="formErrors.nsfwPolicy" class="form-error">
|
||||
{{ formErrors.nsfwPolicy }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
|
||||
<span
|
||||
class="help-tooltip-button"
|
||||
title="Get help"
|
||||
[popover]="tooltipTemplate"
|
||||
placement="right"
|
||||
[placement]="tooltipPlacement"
|
||||
[outsideClick]="true"
|
||||
></span>
|
||||
|
|
|
@ -12,6 +12,7 @@ export class HelpComponent implements OnInit, OnChanges {
|
|||
@Input() postHtml = ''
|
||||
@Input() customHtml = ''
|
||||
@Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
|
||||
@Input() tooltipPlacement = 'right'
|
||||
|
||||
mainHtml = ''
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@
|
|||
<input type="checkbox" id="nsfw" formControlName="nsfw" />
|
||||
<label for="nsfw"></label>
|
||||
<label for="nsfw">This video contains mature or explicit content</label>
|
||||
<my-help tooltipPlacement="top" helpType="custom" customHtml="Some instances do not list NSFW videos by default."></my-help>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-checkbox">
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
@include peertube-select-disabled-container(auto);
|
||||
}
|
||||
|
||||
.form-group-checkbox {
|
||||
my-help { margin-left: 5px }
|
||||
}
|
||||
|
||||
.video-edit {
|
||||
height: 100%;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ import './videos/video-abuse'
|
|||
import './videos/video-blacklist'
|
||||
import './videos/video-blacklist-management'
|
||||
import './videos/video-description'
|
||||
import './videos/video-nsfw'
|
||||
import './videos/video-privacy'
|
||||
import './videos/services'
|
||||
import './server/email'
|
||||
|
|
Loading…
Reference in New Issue