diff options
Diffstat (limited to 'client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html')
-rw-r--r-- | client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html b/client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html index 7a33bb94b..8e46b0cf9 100644 --- a/client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html +++ b/client/src/app/+admin/moderation/registration-list/process-registration-modal.component.html | |||
@@ -12,7 +12,7 @@ | |||
12 | <div class="modal-body mb-3"> | 12 | <div class="modal-body mb-3"> |
13 | 13 | ||
14 | <div i18n *ngIf="!registration.emailVerified" class="alert alert-warning"> | 14 | <div i18n *ngIf="!registration.emailVerified" class="alert alert-warning"> |
15 | Registration email has not been verified. | 15 | Registration email has not been verified. Email delivery has been disabled by default. |
16 | </div> | 16 | </div> |
17 | 17 | ||
18 | <div class="description"> | 18 | <div class="description"> |
@@ -21,7 +21,7 @@ | |||
21 | <strong>Accepting</strong> <em>{{ registration.username }}</em> registration will create the account and channel. | 21 | <strong>Accepting</strong> <em>{{ registration.username }}</em> registration will create the account and channel. |
22 | </p> | 22 | </p> |
23 | 23 | ||
24 | <p *ngIf="isEmailEnabled()" i18n> | 24 | <p *ngIf="isEmailEnabled()" i18n [ngClass]="{ 'text-decoration-line-through': isPreventEmailDeliveryChecked() }"> |
25 | An email will be sent to <em>{{ registration.email }}</em> explaining its account has been created with the moderation response you'll write below. | 25 | An email will be sent to <em>{{ registration.email }}</em> explaining its account has been created with the moderation response you'll write below. |
26 | </p> | 26 | </p> |
27 | 27 | ||
@@ -31,7 +31,7 @@ | |||
31 | </ng-container> | 31 | </ng-container> |
32 | 32 | ||
33 | <ng-container *ngIf="isReject()"> | 33 | <ng-container *ngIf="isReject()"> |
34 | <p i18n> | 34 | <p i18n [ngClass]="{ 'text-decoration-line-through': isPreventEmailDeliveryChecked() }"> |
35 | An email will be sent to <em>{{ registration.email }}</em> explaining its registration request has been <strong>rejected</strong> with the moderation response you'll write below. | 35 | An email will be sent to <em>{{ registration.email }}</em> explaining its registration request has been <strong>rejected</strong> with the moderation response you'll write below. |
36 | </p> | 36 | </p> |
37 | 37 | ||
@@ -53,6 +53,13 @@ | |||
53 | {{ formErrors.moderationResponse }} | 53 | {{ formErrors.moderationResponse }} |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | |||
57 | <div class="form-group"> | ||
58 | <my-peertube-checkbox | ||
59 | inputName="preventEmailDelivery" formControlName="preventEmailDelivery" [disabled]="!isEmailEnabled()" | ||
60 | i18n-labelText labelText="Prevent email from being sent to the user" | ||
61 | ></my-peertube-checkbox> | ||
62 | </div> | ||
56 | </div> | 63 | </div> |
57 | 64 | ||
58 | <div class="modal-footer inputs"> | 65 | <div class="modal-footer inputs"> |