diff --git a/static/templates/card/de.html b/static/templates/card/de.html index 8e606d3..659ece4 100644 --- a/static/templates/card/de.html +++ b/static/templates/card/de.html @@ -50,8 +50,12 @@

{{ .Code }}

+ {{ if ne .Runner.FirstName "" }}

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

{{ .Runner.Group.Name }}

+ {{ else }} +

Kein Läufer zugewiesen

+ {{ end}} {{ end}} {{ end }} diff --git a/static/templates/card/en.html b/static/templates/card/en.html index 7647eaf..0ff381d 100644 --- a/static/templates/card/en.html +++ b/static/templates/card/en.html @@ -49,8 +49,12 @@

{{ .Code }}

+ {{ if ne .Runner.FirstName ""}}

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

{{ .Runner.Group.Name }}

+ {{ else }} +

Blank card

+ {{ end}} {{ end }}