mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
Lots of stuff
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
{{ else if $i -}}
|
||||
,
|
||||
{{ end }}
|
||||
{{- $person := Person $p.Reference -}}
|
||||
{{- $person.Name -}}
|
||||
{{- $person := Person $p.Reference }}
|
||||
{{ $person.Name -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div class="mx-3">
|
||||
@@ -57,8 +57,25 @@
|
||||
{{- if $i -}}
|
||||
,
|
||||
{{- end -}}
|
||||
{{- $person := Person $p.Reference -}}
|
||||
{{- $person.Name -}}
|
||||
{{- $person := Person $p.Reference }}
|
||||
{{ $person.Name -}}
|
||||
{{- end -}}
|
||||
{{ if and $sr.Received.Places (len $sr.Received.Places) }}
|
||||
{{- range $i, $p := $sr.Received.Places -}}
|
||||
{{- $place := Place $p.Reference }}
|
||||
{{- if and $i (eq $i (Minus (len $sr.Received.Places) 1)) -}}
|
||||
und
|
||||
{{- end -}}
|
||||
{{- if $i -}}
|
||||
,
|
||||
{{- end -}}
|
||||
{{- if eq $i 0 -}}
|
||||
({{- $place.Name -}}
|
||||
{{- else -}}
|
||||
{{ $place.Name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
)
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- else -}}
|
||||
|
||||
Reference in New Issue
Block a user