From: Chocobozzz Date: Mon, 14 Dec 2020 11:21:07 +0000 (+0100) Subject: Add link to the documentation for live streaming X-Git-Tag: v3.0.0-rc.1~28 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cd5dc7188b27c227d4cb0d4e569180822ecfa250;p=github%2FChocobozzz%2FPeerTube.git Add link to the documentation for live streaming --- 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 0c60ec4ec..d75f37074 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 @@ -210,6 +210,9 @@
+
+ +
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 89dc26e87..f369fa17a 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -192,6 +192,7 @@ menu { .logged-in-username { font-size: 13px; color: #C6C6C6; + margin-top: 3px; } } } diff --git a/client/src/app/shared/shared-video-live/live-documentation-link.component.html b/client/src/app/shared/shared-video-live/live-documentation-link.component.html new file mode 100644 index 000000000..0c54c7044 --- /dev/null +++ b/client/src/app/shared/shared-video-live/live-documentation-link.component.html @@ -0,0 +1,4 @@ +
+ See the documentation + to learn how to use the PeerTube live streaming feature. +
diff --git a/client/src/app/shared/shared-video-live/live-documentation-link.component.ts b/client/src/app/shared/shared-video-live/live-documentation-link.component.ts new file mode 100644 index 000000000..be4006ce8 --- /dev/null +++ b/client/src/app/shared/shared-video-live/live-documentation-link.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core' + +@Component({ + selector: 'my-live-documentation-link', + templateUrl: './live-documentation-link.component.html', + styleUrls: [ ] +}) +export class LiveDocumentationLinkComponent { + +} 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 8d9467fe5..e7b00cd01 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 @@ -11,6 +11,10 @@
Replay will be saved
+
+ +
+
diff --git a/client/src/app/shared/shared-video-live/shared-video-live.module.ts b/client/src/app/shared/shared-video-live/shared-video-live.module.ts index c35c2caa3..f5e153ac9 100644 --- a/client/src/app/shared/shared-video-live/shared-video-live.module.ts +++ b/client/src/app/shared/shared-video-live/shared-video-live.module.ts @@ -3,6 +3,7 @@ import { NgModule } from '@angular/core' import { SharedFormModule } from '../shared-forms' import { SharedGlobalIconModule } from '../shared-icons' import { SharedMainModule } from '../shared-main/shared-main.module' +import { LiveDocumentationLinkComponent } from './live-documentation-link.component' import { LiveStreamInformationComponent } from './live-stream-information.component' import { LiveVideoService } from './live-video.service' @@ -14,11 +15,13 @@ import { LiveVideoService } from './live-video.service' ], declarations: [ - LiveStreamInformationComponent + LiveStreamInformationComponent, + LiveDocumentationLinkComponent ], exports: [ - LiveStreamInformationComponent + LiveStreamInformationComponent, + LiveDocumentationLinkComponent ], providers: [