diff --git a/view/player.tmpl b/view/player.tmpl index 7c1922f..32c5722 100644 --- a/view/player.tmpl +++ b/view/player.tmpl @@ -1,6 +1,6 @@ {{ template "layout" . }} -{{ define "title" }}{{ .Player.Name }} - {{ .App.Config.ApplicationName }}{{ end }} +{{ define "title" }}{{ .Player.Name }}{{ end }} {{ define "content" }} @@ -8,16 +8,14 @@

{{ if .AdminView }} - Back to {{ .PlayerUser.Username }}'s account + {{ call .T "Back to %s's account" .PlayerUser.Username }} {{ else }} - Back to your account + {{ call .T "Back to your account" }} {{ end }}

{{ .Player.Name }}

- {{/* prettier-ignore-start */}}
{{ .Player.UUID }}
{{ .PlayerID }}
- {{/* prettier-ignore-end */}} {{ if .SkinURL }}
{{ else }} - No skin yet. + {{ call .T "No skin yet." }} {{ end }}
{{ if or .App.Config.AllowChangingPlayerName .User.IsAdmin }}

-
+ +
{{ end }} {{ if or .App.Config.AllowSkins .User.IsAdmin }} -

Skin

+

{{ call .T "Skin" }}

{{ if .SkinURL }}

- Current skin: + {{ call .T "Current skin:" }}

{{ end }}

-
+

{{ if or .App.Config.AllowTextureFromURL .User.IsAdmin }}

-
+

{{ end }}

- +

- Skin model + {{ call .T "Skin model" }} - + - +
{{ end }} {{ if or .App.Config.AllowCapes .User.IsAdmin }} -

Cape

+

{{ call .T "Cape" }}

{{ if .CapeURL }}

- Current cape: + {{ call .T "Current cape:" }}

{{ end }}

-
+

{{ if or .App.Config.AllowTextureFromURL .User.IsAdmin }}

-
+

{{ end }}

- +

{{ end }} {{ if .App.Config.ForwardSkins }}

-
- UUID or player name. If you don't set a skin or cape, this player's skin - on one of the fallback API servers will be used instead.
+ +
+ {{ call .T "UUID or player name. If you don't set a skin or cape, this player's skin on one of the fallback API servers will be used instead." }} +

- +

{{ if or .App.Config.AllowAddingDeletingPlayers .User.IsAdmin }}

- Delete Player + {{ call .T "Delete Player" }}
- +