]>
Commit | Line | Data |
---|---|---|
c30745f3 | 1 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> |
a0d69908 | 2 | <div class="form-group"> |
b1d40cff | 3 | <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label> |
421d935d C |
4 | <my-help> |
5 | <ng-template ptTemplate="customHtml"> | |
6 | <ng-container i18n> | |
7 | With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video. | |
8 | </ng-container> | |
9 | </ng-template> | |
10 | </my-help> | |
0883b324 C |
11 | |
12 | <div class="peertube-select-container"> | |
13 | <select id="nsfwPolicy" formControlName="nsfwPolicy"> | |
b1d40cff C |
14 | <option i18n value="do_not_list">Do not list</option> |
15 | <option i18n value="blur">Blur thumbnails</option> | |
16 | <option i18n value="display">Display</option> | |
0883b324 C |
17 | </select> |
18 | </div> | |
a0d69908 C |
19 | </div> |
20 | ||
3caf77d3 | 21 | <div class="form-group"> |
20f1ec8d | 22 | <label i18n for="videoLanguages">Only display videos in the following languages/subtitles</label> |
421d935d C |
23 | <my-help> |
24 | <ng-template ptTemplate="customHtml"> | |
20f1ec8d | 25 | <ng-container i18n>In Recently added, Trending, Local, Most liked and Search pages</ng-container> |
421d935d C |
26 | </ng-template> |
27 | </my-help> | |
3caf77d3 C |
28 | |
29 | <div> | |
30 | <p-multiSelect | |
be27ef3b | 31 | inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" [showToggleAll]="true" |
3caf77d3 C |
32 | [defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()" |
33 | emptyFilterMessage="No results found" i18n-emptyFilterMessage | |
34 | ></p-multiSelect> | |
35 | </div> | |
36 | </div> | |
37 | ||
361805c4 C |
38 | <div class="form-group"> |
39 | <my-peertube-checkbox | |
40 | inputName="webTorrentEnabled" formControlName="webTorrentEnabled" | |
43c66a91 | 41 | i18n-labelText labelText="Use P2P to exchange parts of the video with others" |
361805c4 C |
42 | ></my-peertube-checkbox> |
43 | </div> | |
ed638e53 | 44 | |
361805c4 C |
45 | <div class="form-group"> |
46 | <my-peertube-checkbox | |
47 | inputName="autoPlayVideo" formControlName="autoPlayVideo" | |
48 | i18n-labelText labelText="Automatically plays video" | |
49 | ></my-peertube-checkbox> | |
85c1df6a | 50 | </div> |
6aa54148 | 51 | |
85c1df6a | 52 | <div class="form-group"> |
6aa54148 L |
53 | <my-peertube-checkbox |
54 | inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo" | |
55 | i18n-labelText labelText="Automatically starts playing next video" | |
56 | ></my-peertube-checkbox> | |
361805c4 | 57 | </div> |
c30745f3 | 58 | |
b1d40cff | 59 | <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> |
c30745f3 | 60 | </form> |