2 <div class=
"modal-header">
3 <ng-container *
ngIf=
"isMultiple()">
4 <h4 i18n
class=
"modal-title">Block {{ videos.length }} videos
</h4>
7 <ng-container *
ngIf=
"!isMultiple()">
8 <h4 i18n
class=
"modal-title" *
ngIf=
"!getSingleVideo().isLive">Block video "{{ getSingleVideo().name }}"
</h4>
9 <h4 i18n
class=
"modal-title" *
ngIf=
"getSingleVideo().isLive">Block live "{{ getSingleVideo().name }}"
</h4>
12 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"hide()"></my-global-icon>
15 <div class=
"modal-body">
17 <form novalidate [formGroup]=
"form" (ngSubmit)=
"block()">
18 <div class=
"form-group">
20 i18n-placeholder
placeholder=
"Please describe the reason..." formControlName=
"reason"
21 [ngClass]=
"{ 'input-error': formErrors['reason'] }" class=
"form-control"
23 <div *
ngIf=
"formErrors.reason" class=
"form-error">
24 {{ formErrors.reason }}
28 <div class=
"form-group" *
ngIf=
"hasLocal()">
30 inputName=
"unfederate" formControlName=
"unfederate"
31 i18n-labelText
labelText=
"Unfederate"
33 <ng-container ngProjectAs=
"description">
34 <span *
ngIf=
"isMultiple()" i18n
>This will ask remote instances to delete local videos
</span>
35 <span *
ngIf=
"!isMultiple()" i18n
>This will ask remote instances to delete this video
</span>
37 </my-peertube-checkbox>
40 <strong class=
"live-info" *
ngIf=
"hasLive()" i18n
>
41 Blocking a live will automatically terminate the live stream.
44 <div class=
"form-group inputs">
46 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"peertube-button grey-button"
47 (click)=
"hide()" (key.enter)=
"hide()"
50 <input type=
"submit" i18n-value
value=
"Block" class=
"peertube-button orange-button" [disabled]=
"!form.valid" />