aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.scss8
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html4
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts4
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-send.scss10
4 files changed, 16 insertions, 10 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.scss b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.scss
index 09b71018f..42d74725e 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.scss
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.scss
@@ -2,11 +2,3 @@
2 margin-top: 15px; 2 margin-top: 15px;
3} 3}
4 4
5.peertube-radio-container {
6 width: 250px;
7
8 .form-group-description {
9 white-space: nowrap;
10 }
11}
12
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
index 67e1cb418..a80d31aaf 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
@@ -16,6 +16,10 @@
16 </my-help> 16 </my-help>
17 17
18 <input type="text" id="targetUrl" [(ngModel)]="targetUrl" class="form-control" /> 18 <input type="text" id="targetUrl" [(ngModel)]="targetUrl" class="form-control" />
19
20 <div *ngIf="isChannelSyncEnabled()" class="form-group-description" i18n>
21 You can also synchronize a remote channel in <a routerLink="/my-library/video-channel-syncs">your library</a>
22 </div>
19 </div> 23 </div>
20 24
21 <div class="form-group"> 25 <div class="form-group">
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
index 4ef7d1321..422f0c643 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts
@@ -64,6 +64,10 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, AfterV
64 return this.targetUrl?.match(/https?:\/\//) 64 return this.targetUrl?.match(/https?:\/\//)
65 } 65 }
66 66
67 isChannelSyncEnabled () {
68 return this.serverConfig.import.videoChannelSynchronization.enabled
69 }
70
67 importVideo () { 71 importVideo () {
68 this.isImportingVideo = true 72 this.isImportingVideo = true
69 73
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
index ed46fefb0..684ab23cc 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
@@ -1,7 +1,7 @@
1@use '_variables' as *; 1@use '_variables' as *;
2@use '_mixins' as *; 2@use '_mixins' as *;
3 3
4$width-size: 250px; 4$width-size: 275px;
5 5
6.alert.alert-danger { 6.alert.alert-danger {
7 text-align: center; 7 text-align: center;
@@ -27,7 +27,9 @@ $width-size: 250px;
27 @include peertube-select-container($width-size); 27 @include peertube-select-container($width-size);
28 } 28 }
29 my-select-options ::ng-deep ng-select, 29 my-select-options ::ng-deep ng-select,
30 my-select-channel ::ng-deep ng-select { 30 my-select-channel ::ng-deep ng-select,
31 .peertube-radio-container,
32 .form-group-description {
31 width: $width-size; 33 width: $width-size;
32 34
33 @media screen and (max-width: $width-size) { 35 @media screen and (max-width: $width-size) {
@@ -35,6 +37,10 @@ $width-size: 250px;
35 } 37 }
36 } 38 }
37 39
40 .form-group-description {
41 white-space: nowrap;
42 }
43
38 input[type=text] { 44 input[type=text] {
39 @include peertube-input-text($width-size); 45 @include peertube-input-text($width-size);
40 display: block; 46 display: block;