frontend: use settings to display change name form or not and registration
This commit is contained in:
parent
5f660702eb
commit
07cea2e04a
@ -110,7 +110,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</h4>
|
</h4>
|
||||||
</span>
|
</span>
|
||||||
<span class="navbar-text text-light" ng-show="!my.team_id && time.remaining === undefined" ng-cloak>
|
<span class="navbar-text text-light" ng-show="!my.team_id && settings.allowRegistration" ng-cloak>
|
||||||
<a ng-href="/register" class="badge badge-warning" role="button">
|
<a ng-href="/register" class="badge badge-warning" role="button">
|
||||||
Inscription
|
Inscription
|
||||||
</a>
|
</a>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card border-info mt-3">
|
<div class="card border-info mt-3" ng-if="!settings.denyNameChange">
|
||||||
<div class="card-header bg-info text-light">Changer de nom d'équipe</div>
|
<div class="card-header bg-info text-light">Changer de nom d'équipe</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p ng-class="messageClass" ng-if="message || sberr"><strong ng-if="!sberr">Votre demande a bien été envoyée !</strong><strong ng-if="sberr">{{ sberr }}</strong> {{ message }}</p>
|
<p ng-class="messageClass" ng-if="message || sberr"><strong ng-if="!sberr">Votre demande a bien été envoyée !</strong><strong ng-if="sberr">{{ sberr }}</strong> {{ message }}</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user