{{ $result := .result }} {{ $entry := $result.Entry }}
Alm {{ $entry.MusenalmID }} {{- if $entry.References -}} {{ $entry.References }} {{- end -}}
Ansehen
{{- if $result.IsAdmin -}}
Bearbeiten
Löschen
{{- end -}}
Zuklappen
{{- if $entry.PreferredTitle -}} {{ $entry.PreferredTitle }} {{- else if ne $entry.Year 0 -}} {{ $entry.Year }} {{- else -}} [o.J.] {{- end -}}
{{- if eq $entry.EditState "Unknown" -}} Gesucht {{- else if eq $entry.EditState "ToDo" -}} Zu erledigen {{- else if eq $entry.EditState "Review" -}} Überprüfen {{- else if eq $entry.EditState "Seen" -}} Autopsiert {{- else if eq $entry.EditState "Edited" -}} Vollständig Erfasst {{- else -}} {{ $entry.EditState }} {{- end -}}
{{- if or $entry.TitleStmt $entry.SubtitleStmt $entry.VariantTitle $entry.ParallelTitle $entry.IncipitStmt -}}
Titelangaben
{{- if $entry.TitleStmt -}}
Titel: {{ $entry.TitleStmt }}
{{- end -}} {{- if $entry.SubtitleStmt -}}
Untertitel: {{ $entry.SubtitleStmt }}
{{- end -}} {{- if $entry.VariantTitle -}}
Varianten: {{ $entry.VariantTitle }}
{{- end -}} {{- if $entry.ParallelTitle -}}
Parallel: {{ $entry.ParallelTitle }}
{{- end -}} {{- if $entry.IncipitStmt -}}
Incipit: {{ $entry.IncipitStmt }}
{{- end -}}
{{- end -}} {{- if or $entry.ResponsibilityStmt $entry.PublicationStmt $entry.PlaceStmt -}}
Erscheinung
{{- if and $entry.ResponsibilityStmt (not (eq $entry.ResponsibilityStmt "unbezeichnet")) -}}
Herausgaberangabe: {{ $entry.ResponsibilityStmt }}
{{- end -}} {{- if $entry.PublicationStmt -}}
Publikationsangabe: {{ $entry.PublicationStmt }}
{{- end -}} {{- if $entry.PlaceStmt -}}
Ortsangabe: {{ $entry.PlaceStmt }}
{{- end -}}
{{- end -}} {{- if $entry.Annotation -}}
Annotation
{{ $entry.Annotation }}
{{- end -}} {{- if $result.SeriesRels -}}
Reihen
{{- range $_, $rel := $result.SeriesRels -}} {{- range $_, $s := $result.Series -}} {{- if eq $s.Id $rel.Series -}}
{{- if not (eq $rel.Type "Bevorzugter Reihentitel") -}} {{ $rel.Type }} {{- end -}} {{ $s.Title }}
{{- end -}} {{- end -}} {{- end -}}
{{- end -}} {{- if $entry.Places -}}
Orte
{{- $sep := false -}} {{- range $_, $p := $result.Places -}} {{- if $sep }}, {{ end -}} {{ $p.Name }} {{- $sep = true -}} {{- end -}}
{{- end -}} {{- if $result.AgentRels -}}
Personen
{{- range $_, $arel := $result.AgentRels -}} {{- range $_, $a := $result.Agents -}} {{- if eq $a.Id $arel.Agent -}}
{{ $a.Name }} {{ $arel.Type }}
{{- end -}} {{- end -}} {{- end -}}
{{- end -}}
{{- if $entry.Comment -}}
Kommentar
{{ $entry.Comment }}
{{- end -}} {{- if $entry.Language -}}
Sprachen
{{- range $i, $lang := $entry.Language -}}{{- if $i }}, {{ end -}}{{ LanguageNameGerman $lang }}{{- end -}}
{{- end -}} {{- if or $entry.Extent $entry.Dimensions -}}
Umfang / Maße
{{- if $entry.Extent -}}
Struktur{{ $entry.Extent }}
{{- end -}} {{- if $entry.Dimensions -}}
Maße: {{ $entry.Dimensions }}
{{- end -}}
{{- end -}} {{- if $entry.References -}}
Nachweise
{{ $entry.References }}
{{- end -}} {{- if ne $entry.Year 0 -}}
Jahr
{{ $entry.Year }}
{{- end -}} {{- if $result.Items -}}
Exemplare
{{- range $_, $item := $result.Items -}}
{{- if $item.Identifier -}}
{{ $item.Identifier }}
{{- end -}} {{- if $item.Media -}}
{{- range $i, $media := $item.Media -}}{{- if $i }}, {{ end -}}{{ $media }}{{- end -}}
{{- end -}}
{{- if or $item.Location $item.Owner -}}
{{- if $item.Location -}}{{ $item.Location }}{{- end -}} {{- if $item.Owner -}}{{ $item.Owner }}{{- end -}}
{{- end -}}
{{- if or $item.Location $item.Owner -}}
{{- if $item.Location -}}{{ $item.Location }}{{- end -}} {{- if $item.Owner -}}{{ $item.Owner }}{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}