mirror of https://github.com/Chocobozzz/PeerTube
Clearer signup limit label
parent
29cdeb0621
commit
6ce6ff06f1
|
@ -186,6 +186,7 @@
|
||||||
|
|
||||||
<div [ngClass]="getDisabledSignupClass()">
|
<div [ngClass]="getDisabledSignupClass()">
|
||||||
<label i18n for="signupLimit">Signup limit</label>
|
<label i18n for="signupLimit">Signup limit</label>
|
||||||
|
<span i18n class="small muted ms-1">When the total number of users in your instance reaches this limit, registrations are disabled. -1 == unlimited</span>
|
||||||
|
|
||||||
<div class="number-with-unit">
|
<div class="number-with-unit">
|
||||||
<input
|
<input
|
||||||
|
@ -204,11 +205,11 @@
|
||||||
<label i18n for="signupMinimumAge">Minimum required age to create an account</label>
|
<label i18n for="signupMinimumAge">Minimum required age to create an account</label>
|
||||||
|
|
||||||
<div class="number-with-unit">
|
<div class="number-with-unit">
|
||||||
<input
|
<input
|
||||||
type="number" min="1" id="signupMinimumAge" class="form-control"
|
type="number" min="1" id="signupMinimumAge" class="form-control"
|
||||||
formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
|
formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
|
||||||
>
|
>
|
||||||
<span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
|
<span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="formErrors.signup.minimumAge" class="form-error" role="alert">{{ formErrors.signup.minimumAge }}</div>
|
<div *ngIf="formErrors.signup.minimumAge" class="form-error" role="alert">{{ formErrors.signup.minimumAge }}</div>
|
||||||
|
|
|
@ -541,7 +541,9 @@ contact_form:
|
||||||
signup:
|
signup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
|
# When the total number of users in your instance reaches this limit, registrations are disabled.
|
||||||
|
# -1 == unlimited
|
||||||
|
limit: 10
|
||||||
|
|
||||||
minimum_age: 16 # Used to configure the signup form
|
minimum_age: 16 # Used to configure the signup form
|
||||||
|
|
||||||
|
|
|
@ -551,7 +551,9 @@ contact_form:
|
||||||
signup:
|
signup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
|
# When the total number of users in your instance reaches this limit, registrations are disabled.
|
||||||
|
# -1 == unlimited
|
||||||
|
limit: 10
|
||||||
|
|
||||||
minimum_age: 16 # Used to configure the signup form
|
minimum_age: 16 # Used to configure the signup form
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue