]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-video-live/live-stream-information.component.html
Prevent layout shift in videos list
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-live / live-stream-information.component.html
index 99c7dbd4c792d3d79650cadfd11bbad652519395..8e61bdbb30d07ee708d781a6225af32d01221d1f 100644 (file)
@@ -32,7 +32,7 @@
       <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div>
     </div>
 
-    <div class="journal">
+    <div class="journal" *ngIf="latestLiveSessions.length !== 0">
       <label i18n>Latest live sessions</label>
 
       <div class="journal-session" *ngFor="let session of latestLiveSessions">
@@ -42,6 +42,7 @@
         <span i18n>Started on {{ session.startDate | date:'medium' }}</span>
         <span i18n *ngIf="session.endDate">Ended on {{ session.endDate | date:'medium' }}</span>
         <a i18n *ngIf="session.replayVideo" [routerLink]="getVideoUrl(session.replayVideo)" target="_blank">Go to replay</a>
+        <span i18n *ngIf="isReplayBeingProcessed(session)">Replay is being processed...</span>
       </div>
     </div>
   </div>