aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/shared/video-edit.component.html
diff options
context:
space:
mode:
authorWicklow <123956049+wickloww@users.noreply.github.com>2023-03-31 07:12:21 +0000
committerGitHub <noreply@github.com>2023-03-31 09:12:21 +0200
commit05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 (patch)
tree5041a95ef945620a17f25ba934064b41f6bb00b7 /client/src/app/+videos/+video-edit/shared/video-edit.component.html
parentebd61437c1ec92bea9772924c7051cb00d71f778 (diff)
downloadPeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.gz
PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.zst
PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.zip
Feature/Add replay privacy (#5692)
* Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/video-edit.component.html')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.html9
1 files changed, 8 insertions, 1 deletions
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 fdd6b2311..b0da84979 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
@@ -272,7 +272,7 @@
272 </div> 272 </div>
273 </div> 273 </div>
274 274
275 <div class="form-group" *ngIf="isSaveReplayEnabled()"> 275 <div class="form-group" *ngIf="isSaveReplayAllowed()">
276 <my-peertube-checkbox inputName="liveVideoSaveReplay" formControlName="saveReplay"> 276 <my-peertube-checkbox inputName="liveVideoSaveReplay" formControlName="saveReplay">
277 <ng-template ptTemplate="label"> 277 <ng-template ptTemplate="label">
278 <ng-container i18n>Automatically publish a replay when your live ends</ng-container> 278 <ng-container i18n>Automatically publish a replay when your live ends</ng-container>
@@ -284,6 +284,13 @@
284 </my-peertube-checkbox> 284 </my-peertube-checkbox>
285 </div> 285 </div>
286 286
287 <div class="form-group mx-4" *ngIf="isSaveReplayEnabled()">
288 <label i18n for="replayPrivacy">Privacy of the new replay</label>
289 <my-select-options
290 labelForId="replayPrivacy" [items]="videoPrivacies" [clearable]="false" formControlName="replayPrivacy"
291 ></my-select-options>
292 </div>
293
287 <div class="form-group" *ngIf="isLatencyModeEnabled()"> 294 <div class="form-group" *ngIf="isLatencyModeEnabled()">
288 <label i18n for="latencyMode">Latency mode</label> 295 <label i18n for="latencyMode">Latency mode</label>
289 <my-select-options 296 <my-select-options