diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-04 09:24:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-04 09:24:14 +0100 |
commit | 312644ce3a59fcc10cc08d422081ebacfa14eec7 (patch) | |
tree | ddc365e65df3dca0e278e770cd5521f3f61a3111 /client/src/app/shared/shared-video-live/live-stream-information.component.html | |
parent | e26dc0cdbda13f8b65ab2be3a0e13e7ef5c4b98c (diff) | |
download | PeerTube-312644ce3a59fcc10cc08d422081ebacfa14eec7.tar.gz PeerTube-312644ce3a59fcc10cc08d422081ebacfa14eec7.tar.zst PeerTube-312644ce3a59fcc10cc08d422081ebacfa14eec7.zip |
Add badge for permanent live in live info 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 | 11 |
1 files changed, 8 insertions, 3 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 2e65e1de9..6693c1af2 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 | |||
@@ -5,15 +5,20 @@ | |||
5 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> | 5 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <div class="modal-body"> | 8 | <div class="modal-body" *ngIf="live"> |
9 | <div> | ||
10 | <div class="badge badge-info" *ngIf="live.permanentLive" i18n>Permanent live</div> | ||
11 | <div class="badge badge-info" *ngIf="live.saveReplay" i18n>Replay will be saved</div> | ||
12 | </div> | ||
13 | |||
9 | <div class="form-group"> | 14 | <div class="form-group"> |
10 | <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label> | 15 | <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label> |
11 | <my-input-readonly-copy id="liveVideoRTMPUrl" [value]="rtmpUrl"></my-input-readonly-copy> | 16 | <my-input-readonly-copy id="liveVideoRTMPUrl" [value]="live.rtmpUrl"></my-input-readonly-copy> |
12 | </div> | 17 | </div> |
13 | 18 | ||
14 | <div class="form-group"> | 19 | <div class="form-group"> |
15 | <label for="liveVideoStreamKey" i18n>Live stream key</label> | 20 | <label for="liveVideoStreamKey" i18n>Live stream key</label> |
16 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="streamKey"></my-input-readonly-copy> | 21 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="live.streamKey"></my-input-readonly-copy> |
17 | 22 | ||
18 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> | 23 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> |
19 | </div> | 24 | </div> |