settings: add canJoinTeam parameter

This commit is contained in:
nemunaire 2019-02-04 18:14:46 +01:00
parent 921644deb4
commit 2b95995104
7 changed files with 159 additions and 36 deletions

View file

@ -170,6 +170,7 @@ func main() {
FirstBlood: fic.FirstBlood,
SubmissionCostBase: fic.SubmissionCostBase,
AllowRegistration: false,
CanJoinTeam: false,
DenyNameChange: false,
EnableResolutionRoute: false,
PartialValidation: true,

View file

@ -114,6 +114,13 @@
</label>
</div>
<div class="form-check">
<label class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" ng-model="config.canJoinTeam" ng-disabled="!config.allowRegistration">
<span class="custom-control-label">Les participants sans équipe peuvent en rejoindre une</span>
</label>
</div>
<div class="form-check">
<label class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" ng-model="config.denyNameChange">