From 3eb7ee658db32d270553046eeb77afc679a71466 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Oct 2021 10:54:12 +0200 Subject: Try to improve permanent live label --- .../+video-edit/shared/video-edit.component.html | 24 ++++++++++++++-------- .../video-go-live.component.ts | 2 ++ client/src/sass/include/_mixins.scss | 9 ++++++++ 3 files changed, 27 insertions(+), 8 deletions(-) (limited to 'client/src') diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index ee5a50611..1c0ec72d1 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html @@ -227,15 +227,23 @@
- - - This is a permanent live - +
+ + - - You can stream multiple times in a permanent live. The URL for your viewers won't change but you cannot save replays of your lives - - + + You can't stream multiple times in a normal live, but you can save a replay of it that will use the same URL + +
+ +
+ + + + + You can stream multiple times in a permanent/recurring live. The URL for your viewers won't change but you cannot save replays of your lives + +
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts index 2065e4e8e..ee7011b4c 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts @@ -70,6 +70,8 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView waitTranscoding: true, commentsEnabled: true, downloadEnabled: true, + permanentLive: false, + saveReplay: false, channelId: this.firstStepChannelId } diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 679c235a6..0634f4677 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -438,6 +438,8 @@ cursor: pointer; line-height: 20px; display: inline-block; + font-size: 15px; + font-weight: $font-regular; } [type=radio]:checked + label::before, @@ -473,6 +475,13 @@ opacity: 1; transform: scale(1); } + + .form-group-description { + display: block; + margin-top: -10px; + margin-bottom: 10px; + margin-left: 29px; + } } @mixin peertube-checkbox ($border-width) { -- cgit v1.2.3