diff options
Diffstat (limited to 'client/src/app/+my-account')
4 files changed, 23 insertions, 10 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.html b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.html index dd9b56585..6e22abeed 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <div class="delete-me"> | 1 | <div class="delete-me"> |
2 | <p i18n>Once you delete your account, there is no going back.</p> | 2 | <p i18n>Once you delete your account, there is no going back. You will be asked to confirm this action.</p> |
3 | 3 | ||
4 | <button (click)="deleteMe()" i18n>Delete your account</button> | 4 | <button (click)="deleteMe()" i18n>Delete your account</button> |
5 | </div> \ No newline at end of file | 5 | </div> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.scss b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.scss index 0ca310468..7f7806732 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.scss | |||
@@ -7,5 +7,6 @@ | |||
7 | button { | 7 | button { |
8 | @include peertube-button; | 8 | @include peertube-button; |
9 | @include grey-button; | 9 | @include grey-button; |
10 | @include disable-outline; | ||
10 | } | 11 | } |
11 | } \ No newline at end of file | 12 | } \ No newline at end of file |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts index 41021c592..25d862867 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts | |||
@@ -24,7 +24,7 @@ export class MyAccountDangerZoneComponent { | |||
24 | 24 | ||
25 | async deleteMe () { | 25 | async deleteMe () { |
26 | const res = await this.confirmService.confirmWithInput( | 26 | const res = await this.confirmService.confirmWithInput( |
27 | this.i18n('Are you sure you want to delete your account? This will delete all your data, including channels, videos etc.'), | 27 | this.i18n('Are you sure you want to delete your account? This will delete all your data, including channels, videos and comments. Content cached by other servers and other third-parties might make longer to be deleted.'), |
28 | this.i18n('Type your username to confirm'), | 28 | this.i18n('Type your username to confirm'), |
29 | this.user.username, | 29 | this.user.username, |
30 | this.i18n('Delete your account'), | 30 | this.i18n('Delete your account'), |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html index f17829127..7f4437b19 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | |||
@@ -39,23 +39,35 @@ | |||
39 | 39 | ||
40 | <div class="form-group"> | 40 | <div class="form-group"> |
41 | <my-peertube-checkbox | 41 | <my-peertube-checkbox |
42 | inputName="webTorrentEnabled" formControlName="webTorrentEnabled" | 42 | inputName="webTorrentEnabled" formControlName="webTorrentEnabled" [recommended]="true" |
43 | i18n-labelText labelText="Use P2P to exchange parts of the video with others" | 43 | i18n-labelText labelText="Help share videos being played" |
44 | ></my-peertube-checkbox> | 44 | > |
45 | <ng-container ngProjectAs="description"> | ||
46 | <span i18n>The <a routerLink="/about/peertube" fragment="privacy">sharing system</a> implies that some technical information about your system (such as a public IP address) can be sent to other peers, but greatly helps to reduce server load.</span> | ||
47 | </ng-container> | ||
48 | </my-peertube-checkbox> | ||
45 | </div> | 49 | </div> |
46 | 50 | ||
47 | <div class="form-group"> | 51 | <div class="form-group"> |
48 | <my-peertube-checkbox | 52 | <my-peertube-checkbox |
49 | inputName="autoPlayVideo" formControlName="autoPlayVideo" | 53 | inputName="autoPlayVideo" formControlName="autoPlayVideo" |
50 | i18n-labelText labelText="Automatically plays video" | 54 | i18n-labelText labelText="Automatically play videos" |
51 | ></my-peertube-checkbox> | 55 | > |
56 | <ng-container ngProjectAs="description"> | ||
57 | <span i18n>When on a video page, directly start playing the video.</span> | ||
58 | </ng-container> | ||
59 | </my-peertube-checkbox> | ||
52 | </div> | 60 | </div> |
53 | 61 | ||
54 | <div class="form-group"> | 62 | <div class="form-group"> |
55 | <my-peertube-checkbox | 63 | <my-peertube-checkbox |
56 | inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo" | 64 | inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo" |
57 | i18n-labelText labelText="Automatically starts playing next video" | 65 | i18n-labelText labelText="Automatically start playing the next video" |
58 | ></my-peertube-checkbox> | 66 | > |
67 | <ng-container ngProjectAs="description"> | ||
68 | <span i18n>When a video ends, follow up with the next suggested video.</span> | ||
69 | </ng-container> | ||
70 | </my-peertube-checkbox> | ||
59 | </div> | 71 | </div> |
60 | 72 | ||
61 | <input *ngIf="!reactiveUpdate" type="submit" i18n-value value="Save" [disabled]="!form.valid"> | 73 | <input *ngIf="!reactiveUpdate" type="submit" i18n-value value="Save" [disabled]="!form.valid"> |