diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html index 65fc31412..5d826fbe9 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.html | |||
@@ -45,6 +45,8 @@ | |||
45 | <input type="number" name="liveMaxInstanceLives" formControlName="maxInstanceLives" /> | 45 | <input type="number" name="liveMaxInstanceLives" formControlName="maxInstanceLives" /> |
46 | <span i18n>{form.value['live']['maxInstanceLives'], plural, =1 {live} other {lives}}</span> | 46 | <span i18n>{form.value['live']['maxInstanceLives'], plural, =1 {live} other {lives}}</span> |
47 | </div> | 47 | </div> |
48 | |||
49 | <div *ngIf="formErrors.live.maxInstanceLives" class="form-error">{{ formErrors.live.maxInstanceLives }}</div> | ||
48 | </div> | 50 | </div> |
49 | 51 | ||
50 | <div class="form-group" [ngClass]="getDisabledLiveClass()"> | 52 | <div class="form-group" [ngClass]="getDisabledLiveClass()"> |
@@ -56,6 +58,8 @@ | |||
56 | <input type="number" name="liveMaxUserLives" formControlName="maxUserLives" /> | 58 | <input type="number" name="liveMaxUserLives" formControlName="maxUserLives" /> |
57 | <span i18n>{form.value['live']['maxUserLives'], plural, =1 {live} other {lives}}</span> | 59 | <span i18n>{form.value['live']['maxUserLives'], plural, =1 {live} other {lives}}</span> |
58 | </div> | 60 | </div> |
61 | |||
62 | <div *ngIf="formErrors.live.maxUserLives" class="form-error">{{ formErrors.live.maxUserLives }}</div> | ||
59 | </div> | 63 | </div> |
60 | 64 | ||
61 | <div class="form-group" [ngClass]="getDisabledLiveClass()"> | 65 | <div class="form-group" [ngClass]="getDisabledLiveClass()"> |
@@ -65,6 +69,8 @@ | |||
65 | labelForId="liveMaxDuration" [items]="liveMaxDurationOptions" formControlName="maxDuration" | 69 | labelForId="liveMaxDuration" [items]="liveMaxDurationOptions" formControlName="maxDuration" |
66 | bindLabel="label" bindValue="value" [clearable]="false" [searchable]="true" | 70 | bindLabel="label" bindValue="value" [clearable]="false" [searchable]="true" |
67 | ></my-select-options> | 71 | ></my-select-options> |
72 | |||
73 | <div *ngIf="formErrors.live.maxDuration" class="form-error">{{ formErrors.live.maxDuration }}</div> | ||
68 | </div> | 74 | </div> |
69 | 75 | ||
70 | </ng-container> | 76 | </ng-container> |