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