Files
kgpz_web/views/routes/issue/components/_inhaltsverzeichnis_eintrag.gohtml
Simon Martens 09d900b5b3 logo fix
2024-12-04 13:11:49 +01:00

21 lines
535 B
Plaintext

{{ $piece := . }}
Eintrag!
<!-- Autor(en) -->
{{ $authorset := false }}
{{ range $agentref := $piece.AgentRefs }}
{{ if (or (eq $agentref.Category "") (eq $agentref.Category "autor")) }}
{{ $agent := GetAgent $agentref.Ref }}
<!-- NOT IMPLEMENTED: Multiple agent names -->
{{- if gt (len $agent.Names) 0 -}}
<div class="inline-block">{{- index $agent.Names 0 -}}</div>
{{ end }}
{{ end }}
{{ end }}
{{ range $annotation := $piece.AnnotationNote.Annotations }}
<div>
{{ $annotation.Inner.InnerXML }}
</div>
{{ end }}