diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-03 15:11:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-03 15:21:42 +0200 |
commit | 39e68a3254242bd410ffc20b7f74b442a07b390f (patch) | |
tree | 3ad74189343796d52c8fd5c1825ac648dff15ea1 /client/src/app/shared/shared-video-live/live-stream-information.component.html | |
parent | 26e3e98ff0e222a9fb9226938ac6902af77921bd (diff) | |
download | PeerTube-39e68a3254242bd410ffc20b7f74b442a07b390f.tar.gz PeerTube-39e68a3254242bd410ffc20b7f74b442a07b390f.tar.zst PeerTube-39e68a3254242bd410ffc20b7f74b442a07b390f.zip |
Add session informations in live modal
Diffstat (limited to 'client/src/app/shared/shared-video-live/live-stream-information.component.html')
-rw-r--r-- | client/src/app/shared/shared-video-live/live-stream-information.component.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.html b/client/src/app/shared/shared-video-live/live-stream-information.component.html index 35e894a55..01e305938 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.html +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.html | |||
@@ -31,6 +31,19 @@ | |||
31 | 31 | ||
32 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> | 32 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> |
33 | </div> | 33 | </div> |
34 | |||
35 | <div class="journal"> | ||
36 | <label i18n>Latest live sessions</label> | ||
37 | |||
38 | <div class="journal-session" *ngFor="let session of latestLiveSessions"> | ||
39 | <span i18n class="badge badge-success" *ngIf="!getErrorLabel(session)">Success</span> | ||
40 | <span class="badge badge-danger" *ngIf="getErrorLabel(session)">{{ getErrorLabel(session) }}</span> | ||
41 | |||
42 | <span i18n>Started on {{ session.startDate | date:'medium' }}</span> | ||
43 | <span i18n *ngIf="session.endDate">Ended on {{ session.endDate | date:'medium' }}</span> | ||
44 | <a i18n *ngIf="session.replayVideo" [routerLink]="getVideoUrl(session.replayVideo)" target="_blank">Go to replay</a> | ||
45 | </div> | ||
46 | </div> | ||
34 | </div> | 47 | </div> |
35 | 48 | ||
36 | <div class="modal-footer"> | 49 | <div class="modal-footer"> |