diff --git a/view/user.tmpl b/view/user.tmpl index 43e18a5..f7f87c0 100644 --- a/view/user.tmpl +++ b/view/user.tmpl @@ -92,9 +92,9 @@ {{ if .AdminView }}{{ .TargetUser.Username }}'s{{ else }}Your{{ end }} account can have an unlimited number of players. {{ end }}
- {{ if or (and .App.Config.AllowCreatingDeletingPlayers (or (lt (len .TargetUser.Players) .MaxPlayerCount) (lt .MaxPlayerCount 0))) .AdminView }} - {{ if .App.Config.RegistrationNewPlayer.Allow }} - {{ if or .User.IsAdmin .App.Config.RegistrationNewPlayer.AllowChoosingUUID }} + {{ if or (and .App.Config.AllowCreatingDeletingPlayers (or (lt (len .TargetUser.Players) .MaxPlayerCount) (lt .MaxPlayerCount 0))) .User.IsAdmin }} + {{ if .App.Config.CreateNewPlayer.Allow }} + {{ if or .User.IsAdmin .App.Config.CreateNewPlayer.AllowChoosingUUID }}Create a new player with a random UUID:
@@ -121,7 +121,7 @@ {{ end }} - {{ if .App.Config.RegistrationExistingPlayer.Allow }} + {{ if .App.Config.ImportExistingPlayer.Allow }}