diff --git a/static/templates/card/de.html b/static/templates/card/de.html index 659ece4..5910842 100644 --- a/static/templates/card/de.html +++ b/static/templates/card/de.html @@ -52,7 +52,7 @@ {{ if ne .Runner.FirstName "" }}

{{ .Runner.LastName }}, {{ .Runner.FirstName }} {{ .Runner.MiddleName }}

-

{{ .Runner.Group.Name }}

+

{{ if ne .Runner.Group.ParentGroup.Name "" -}}{{ .Runner.Group.ParentGroup.Name }}/{{end -}}{{ .Runner.Group.Name }}

{{ else }}

Kein Läufer zugewiesen

{{ end}} diff --git a/static/templates/card/en.html b/static/templates/card/en.html index 0ff381d..88c730a 100644 --- a/static/templates/card/en.html +++ b/static/templates/card/en.html @@ -51,7 +51,7 @@ {{ if ne .Runner.FirstName ""}}

{{ .Runner.LastName }}, {{ .Runner.FirstName }} {{ .Runner.MiddleName }}

-

{{ .Runner.Group.Name }}

+

{{ if ne .Runner.Group.ParentGroup.Name "" -}}{{ .Runner.Group.ParentGroup.Name }}/{{end -}}{{ .Runner.Group.Name }}

{{ else }}

Blank card

{{ end}} diff --git a/static/templates/contract/de.html b/static/templates/contract/de.html index 796022d..b6e4335 100644 --- a/static/templates/contract/de.html +++ b/static/templates/contract/de.html @@ -65,7 +65,7 @@

Nachname

- {{ .Group.Name }} +

{{ if ne .Group.ParentGroup.Name "" -}}{{ .Group.ParentGroup.Name }}/{{end -}}{{ .Group.Name }}

Team/ Klasse

diff --git a/static/templates/contract/en.html b/static/templates/contract/en.html index b864bfe..db5eea6 100644 --- a/static/templates/contract/en.html +++ b/static/templates/contract/en.html @@ -64,7 +64,7 @@

Last Name

- {{ .Group.Name}} +

{{ if ne .Group.ParentGroup.Name "" -}}{{ .Group.ParentGroup.Name }}/{{end -}}{{ .Group.Name }}

Team/class