]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
Add more attributes to about page
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-video-settings / my-account-video-settings.component.html
CommitLineData
c30745f3 1<form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
a0d69908 2 <div class="form-group">
b1d40cff
C
3 <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label>
4 <my-help
5 helpType="custom" i18n-customHtml
6 customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video."
7 ></my-help>
0883b324
C
8
9 <div class="peertube-select-container">
10 <select id="nsfwPolicy" formControlName="nsfwPolicy">
b1d40cff
C
11 <option i18n value="do_not_list">Do not list</option>
12 <option i18n value="blur">Blur thumbnails</option>
13 <option i18n value="display">Display</option>
0883b324
C
14 </select>
15 </div>
a0d69908
C
16 </div>
17
3caf77d3
C
18 <div class="form-group">
19 <label i18n for="videoLanguages">Only display videos in the following languages</label>
20 <my-help i18n-customHtml
21 customHtml="In Recently added, Trending, Local and Search pages"
22 ></my-help>
23
24 <div>
25 <p-multiSelect
ccc00cb2 26 inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" showToggleAll="true"
3caf77d3
C
27 [defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()"
28 emptyFilterMessage="No results found" i18n-emptyFilterMessage
29 ></p-multiSelect>
30 </div>
31 </div>
32
361805c4
C
33 <div class="form-group">
34 <my-peertube-checkbox
35 inputName="webTorrentEnabled" formControlName="webTorrentEnabled"
36 i18n-labelText labelText="Use WebTorrent to exchange parts of the video with others"
37 ></my-peertube-checkbox>
38 </div>
ed638e53 39
361805c4
C
40 <div class="form-group">
41 <my-peertube-checkbox
42 inputName="autoPlayVideo" formControlName="autoPlayVideo"
43 i18n-labelText labelText="Automatically plays video"
44 ></my-peertube-checkbox>
45 </div>
c30745f3 46
b1d40cff 47 <input type="submit" i18n-value value="Save" [disabled]="!form.valid">
c30745f3 48</form>