diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | 10 | ||||
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 2f3202e06..686f3601b 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | |||
@@ -740,6 +740,16 @@ | |||
740 | </div> | 740 | </div> |
741 | 741 | ||
742 | <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }"> | 742 | <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }"> |
743 | <label i18n for="liveMaxInstanceLives">Max lives created on your instance (-1 for "unlimited")</label> | ||
744 | <input type="number" name="liveMaxInstanceLives" formControlName="maxInstanceLives" /> | ||
745 | </div> | ||
746 | |||
747 | <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }"> | ||
748 | <label i18n for="liveMaxUserLives">Max lives created per user (-1 for "unlimited")</label> | ||
749 | <input type="number" name="liveMaxUserLives" formControlName="maxUserLives" /> | ||
750 | </div> | ||
751 | |||
752 | <div class="form-group" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() }"> | ||
743 | <label i18n for="liveMaxDuration">Max live duration</label> | 753 | <label i18n for="liveMaxDuration">Max live duration</label> |
744 | <div class="peertube-select-container"> | 754 | <div class="peertube-select-container"> |
745 | <select id="liveMaxDuration" formControlName="maxDuration" class="form-control"> | 755 | <select id="liveMaxDuration" formControlName="maxDuration" class="form-control"> |
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index 745238647..de1cf46b1 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | |||
@@ -216,6 +216,8 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit, A | |||
216 | enabled: null, | 216 | enabled: null, |
217 | 217 | ||
218 | maxDuration: null, | 218 | maxDuration: null, |
219 | maxInstanceLives: null, | ||
220 | maxUserLives: null, | ||
219 | allowReplay: null, | 221 | allowReplay: null, |
220 | 222 | ||
221 | transcoding: { | 223 | transcoding: { |