feat(templates): Support nested groups

This commit is contained in:
2024-12-17 17:50:54 +01:00
parent 5c9235df8d
commit 7d503edbc9
4 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@
</div>
{{ if ne .Runner.FirstName ""}}
<p>{{ .Runner.LastName }}, {{ .Runner.FirstName }} {{ .Runner.MiddleName }}</p>
<p>{{ .Runner.Group.Name }}</p>
<p>{{ if ne .Runner.Group.ParentGroup.Name "" -}}{{ .Runner.Group.ParentGroup.Name }}/{{end -}}{{ .Runner.Group.Name }}</p>
{{ else }}
<p>Blank card</p>
{{ end}}