mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-23 01:06:46 -06:00
Clearer signup limit label
This commit is contained in:
parent
29cdeb0621
commit
6ce6ff06f1
@ -186,6 +186,7 @@
|
||||
|
||||
<div [ngClass]="getDisabledSignupClass()">
|
||||
<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">
|
||||
<input
|
||||
@ -204,11 +205,11 @@
|
||||
<label i18n for="signupMinimumAge">Minimum required age to create an account</label>
|
||||
|
||||
<div class="number-with-unit">
|
||||
<input
|
||||
type="number" min="1" id="signupMinimumAge" class="form-control"
|
||||
formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
|
||||
>
|
||||
<span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
|
||||
<input
|
||||
type="number" min="1" id="signupMinimumAge" class="form-control"
|
||||
formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
|
||||
>
|
||||
<span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
|
||||
</div>
|
||||
|
||||
<div *ngIf="formErrors.signup.minimumAge" class="form-error" role="alert">{{ formErrors.signup.minimumAge }}</div>
|
||||
|
@ -541,7 +541,9 @@ contact_form:
|
||||
signup:
|
||||
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
|
||||
|
||||
|
@ -551,7 +551,9 @@ contact_form:
|
||||
signup:
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user