diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-20 16:18:16 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-21 15:39:51 +0200 |
commit | 7294aab0c879ef96c0fde15c389a2c4c1463d3c7 (patch) | |
tree | bad1176720ee04266eba5470e9956e3a7871e349 /client/src/app/+videos/+video-edit/video-add-components | |
parent | f95628636b6ccdf3eae2449ca718e075b072f678 (diff) | |
download | PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.gz PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.zst PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.zip |
Add ability to set custom field to video form
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components')
3 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html index 825cb6df4..785514c76 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -58,6 +58,7 @@ | |||
58 | <my-video-edit | 58 | <my-video-edit |
59 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [schedulePublicationPossible]="false" | 59 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [schedulePublicationPossible]="false" |
60 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" | 60 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" |
61 | type="import-torrent" | ||
61 | ></my-video-edit> | 62 | ></my-video-edit> |
62 | 63 | ||
63 | <div class="submit-container"> | 64 | <div class="submit-container"> |
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 2107dc9d0..3e4eb5fbc 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 | |||
@@ -54,6 +54,7 @@ | |||
54 | <my-video-edit | 54 | <my-video-edit |
55 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [schedulePublicationPossible]="false" | 55 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [schedulePublicationPossible]="false" |
56 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" | 56 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" |
57 | type="import-url" | ||
57 | ></my-video-edit> | 58 | ></my-video-edit> |
58 | 59 | ||
59 | <div class="submit-container"> | 60 | <div class="submit-container"> |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html index ed697c25b..677fa1197 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -69,6 +69,7 @@ | |||
69 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" | 69 | [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" |
70 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" | 70 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" |
71 | [waitTranscodingEnabled]="waitTranscodingEnabled" | 71 | [waitTranscodingEnabled]="waitTranscodingEnabled" |
72 | type="upload" | ||
72 | ></my-video-edit> | 73 | ></my-video-edit> |
73 | 74 | ||
74 | <div class="submit-container"> | 75 | <div class="submit-container"> |