]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-moderation/video-block.component.html
Redesign channel page
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-moderation / video-block.component.html
index 5e73d66c5014dc15e907b768ca8cc7337f04f959..e982c4d7748114da19db213a20e199d07329d7c4 100644 (file)
@@ -1,6 +1,7 @@
 <ng-template #modal>
   <div class="modal-header">
-    <h4 i18n class="modal-title">Block video "{{ video.name }}"</h4>
+    <h4 i18n class="modal-title" *ngIf="!video.isLive">Block video "{{ video.name }}"</h4>
+    <h4 i18n class="modal-title" *ngIf="video.isLive">Block live "{{ video.name }}"</h4>
     <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
   </div>
 
         </my-peertube-checkbox>
       </div>
 
+      <strong class="live-info" *ngIf="video.isLive" i18n>
+        Blocking this live will automatically terminate the live stream.
+      </strong>
+
       <div class="form-group inputs">
         <input
           type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel"