Bugfix Letter 1

This commit is contained in:
Simon Martens
2025-06-24 18:38:05 +02:00
parent 9563145aeb
commit aa2b8c9fae

View File

@@ -51,10 +51,9 @@
{{- if $sr.Received -}} {{- if $sr.Received -}}
<div> <div>
{{- range $i, $p := $sr.Received.Persons -}} {{- range $i, $p := $sr.Received.Persons -}}
{{- if and $i (eq $i (Minus (len $sr.Received.Persons) 1)) -}} {{- if and $i (eq $i (Minus (len $sr.Received.Persons) 1)) }}
und und
{{- end -}} {{- else if $i -}}
{{- if $i -}}
, ,
{{- end -}} {{- end -}}
{{- $person := Person $p.Reference }} {{- $person := Person $p.Reference }}
@@ -63,10 +62,9 @@
{{ if and $sr.Received.Places (len $sr.Received.Places) }} {{ if and $sr.Received.Places (len $sr.Received.Places) }}
{{- range $i, $p := $sr.Received.Places -}} {{- range $i, $p := $sr.Received.Places -}}
{{- $place := Place $p.Reference }} {{- $place := Place $p.Reference }}
{{- if and $i (eq $i (Minus (len $sr.Received.Places) 1)) -}} {{- if and $i (eq $i (Minus (len $sr.Received.Places) 1)) }}
und und
{{- end -}} {{ else if $i -}}
{{- if $i -}}
, ,
{{- end -}} {{- end -}}
{{- if eq $i 0 -}} {{- if eq $i 0 -}}