]>
Commit | Line | Data |
---|---|---|
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 | ||
64cc5e85 | 18 | <div class="form-group"> |
ed638e53 | 19 | <label i18n for="webTorrentEnabled">Policy regarding P2P technologies</label> |
64cc5e85 RK |
20 | |
21 | <div class="peertube-select-container"> | |
ed638e53 | 22 | <select id="webTorrentEnabled" formControlName="webTorrentEnabled"> |
64cc5e85 | 23 | <option i18n value="enable">Enable WebTorrent</option> |
ed638e53 | 24 | <option i18n value="disable">Disable WebTorrent</option> |
64cc5e85 RK |
25 | </select> |
26 | </div> | |
27 | </div> | |
28 | ||
ed638e53 RK |
29 | <my-peertube-checkbox |
30 | inputName="webTorrentEnabled" formControlName="webTorrentEnabled" | |
31 | i18n-labelText labelText="Use WebTorrent to exchange parts of the video with others" | |
32 | ></my-peertube-checkbox> | |
33 | ||
0f7fedc3 C |
34 | <my-peertube-checkbox |
35 | inputName="autoPlayVideo" formControlName="autoPlayVideo" | |
36 | i18n-labelText labelText="Automatically plays video" | |
37 | ></my-peertube-checkbox> | |
c30745f3 | 38 | |
b1d40cff | 39 | <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> |
c30745f3 | 40 | </form> |