diff options
Diffstat (limited to 'client/src/app/shared/video/modals/video-blacklist.component.html')
-rw-r--r-- | client/src/app/shared/video/modals/video-blacklist.component.html | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/client/src/app/shared/video/modals/video-blacklist.component.html b/client/src/app/shared/video/modals/video-blacklist.component.html index 1a87bdcd4..8f06a6b02 100644 --- a/client/src/app/shared/video/modals/video-blacklist.component.html +++ b/client/src/app/shared/video/modals/video-blacklist.component.html | |||
@@ -8,8 +8,10 @@ | |||
8 | 8 | ||
9 | <form novalidate [formGroup]="form" (ngSubmit)="blacklist()"> | 9 | <form novalidate [formGroup]="form" (ngSubmit)="blacklist()"> |
10 | <div class="form-group"> | 10 | <div class="form-group"> |
11 | <textarea i18n-placeholder placeholder="Reason..." formControlName="reason" [ngClass]="{ 'input-error': formErrors['reason'] }"> | 11 | <textarea |
12 | </textarea> | 12 | i18n-placeholder placeholder="Reason..." formControlName="reason" |
13 | [ngClass]="{ 'input-error': formErrors['reason'] }" class="form-control" | ||
14 | ></textarea> | ||
13 | <div *ngIf="formErrors.reason" class="form-error"> | 15 | <div *ngIf="formErrors.reason" class="form-error"> |
14 | {{ formErrors.reason }} | 16 | {{ formErrors.reason }} |
15 | </div> | 17 | </div> |
@@ -18,14 +20,19 @@ | |||
18 | <div class="form-group" *ngIf="video.isLocal"> | 20 | <div class="form-group" *ngIf="video.isLocal"> |
19 | <my-peertube-checkbox | 21 | <my-peertube-checkbox |
20 | inputName="unfederate" formControlName="unfederate" | 22 | inputName="unfederate" formControlName="unfederate" |
21 | i18n-labelText labelText="Unfederate the video (ask for its deletion from the remote instances)" | 23 | i18n-labelText labelText="Unfederate the video" |
22 | ></my-peertube-checkbox> | 24 | > |
25 | <ng-container ngProjectAs="description"> | ||
26 | <span i18n>This will ask remote instances to delete it</span> | ||
27 | </ng-container> | ||
28 | </my-peertube-checkbox> | ||
23 | </div> | 29 | </div> |
24 | 30 | ||
25 | <div class="form-group inputs"> | 31 | <div class="form-group inputs"> |
26 | <span i18n class="action-button action-button-cancel" (click)="hide()"> | 32 | <input |
27 | Cancel | 33 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" |
28 | </span> | 34 | (click)="hide()" (key.enter)="hide()" |
35 | > | ||
29 | 36 | ||
30 | <input | 37 | <input |
31 | type="submit" i18n-value value="Submit" class="action-button-submit" | 38 | type="submit" i18n-value value="Submit" class="action-button-submit" |