aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation/user-ban-modal.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-moderation/user-ban-modal.component.html')
-rw-r--r--client/src/app/shared/shared-moderation/user-ban-modal.component.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/client/src/app/shared/shared-moderation/user-ban-modal.component.html b/client/src/app/shared/shared-moderation/user-ban-modal.component.html
index 6c83cc9cc..2b6726bdc 100644
--- a/client/src/app/shared/shared-moderation/user-ban-modal.component.html
+++ b/client/src/app/shared/shared-moderation/user-ban-modal.component.html
@@ -1,11 +1,15 @@
1<ng-template #modal> 1<ng-template #modal>
2 <div class="modal-header"> 2 <div class="modal-header">
3 <h4 i18n class="modal-title">Ban</h4> 3 <h4 i18n class="modal-title">{{ getModalTitle() }}</h4>
4 4
5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon> 5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
6 </div> 6 </div>
7 7
8 <div class="modal-body"> 8 <div class="modal-body">
9 <div class="description" i18n>
10 A banned user will no longer be able to login.
11 </div>
12
9 <form novalidate [formGroup]="form" (ngSubmit)="banUser()"> 13 <form novalidate [formGroup]="form" (ngSubmit)="banUser()">
10 <div class="form-group"> 14 <div class="form-group">
11 <textarea 15 <textarea
@@ -17,15 +21,12 @@
17 </div> 21 </div>
18 </div> 22 </div>
19 23
20 <div i18n>
21 A banned user will no longer be able to login.
22 </div>
23
24 <div class="form-group"> 24 <div class="form-group">
25 <my-peertube-checkbox 25 <my-peertube-checkbox
26 inputName="banMute" formControlName="mute" 26 inputName="banMute" formControlName="mute"
27 i18n-labelText labelText="Mute this account" 27 i18n-labelText labelText="Mute to also hide videos/comments"
28 ></my-peertube-checkbox> 28 >
29 </my-peertube-checkbox>
29 </div> 30 </div>
30 31
31 <div class="form-group inputs"> 32 <div class="form-group inputs">
@@ -34,7 +35,7 @@
34 (click)="hide()" (key.enter)="hide()" 35 (click)="hide()" (key.enter)="hide()"
35 > 36 >
36 37
37 <input type="submit" i18n-value [value]="modalMessage" class="peertube-button orange-button" [disabled]="!form.valid" /> 38 <input type="submit" i18n-value [value]="getModalTitle()" class="peertube-button orange-button" [disabled]="!form.valid" />
38 </div> 39 </div>
39 </form> 40 </form>
40 </div> 41 </div>