{{- $content := index . "content" -}} {{- $entry := index . "entry" -}} {{- $csrf := index . "csrf_token" -}} {{- $contentTypes := index . "content_types" -}} {{- $musenalmTypes := index . "musenalm_types" -}} {{- $paginationValues := index . "pagination_values" -}} {{- $agents := index . "agents" -}} {{- $contentAgents := index . "content_agents" -}} {{- $agentRelations := index . "agent_relations" -}} {{- $overrideID := index . "content_id" -}} {{- $openEdit := index . "open_edit" -}} {{- $isNew := index . "is_new" -}} {{- $error := index . "error" -}} {{- $collapsed := index . "collapsed" -}} {{- $contentID := $content.Id -}} {{- if and $overrideID (ne $overrideID "") -}} {{- $contentID = $overrideID -}} {{- end -}} {{- $editContainerID := printf "content-%s-edit-container" $contentID -}} {{- $collapsedAttr := "true" -}} {{- if and (ne $collapsed nil) (eq $collapsed false) -}} {{- $collapsedAttr = "false" -}} {{- end -}}
Einklappen
Nach oben verschieben
Nach unten verschieben
{{- if $content.Extent -}} S. {{- $content.Extent -}} {{- end -}} {{- if $content.MusenalmType -}} {{- range $i, $t := $content.MusenalmType -}} {{- $t -}} {{- end -}} {{- end -}}
{{- if $content.PreferredTitle -}} {{- $content.PreferredTitle -}} {{- else if $content.TitleStmt -}} {{- $content.TitleStmt -}} {{- end -}}
{{- if eq $content.EditState "Edited" -}}Erfasst{{- else if eq $content.EditState "Review" -}}Überprüfen{{- else if eq $content.EditState "ToDo" -}}Zu erledigen{{- else if eq $content.EditState "Seen" -}}Autopsiert{{- else -}}Unbekannt{{- end -}}
Bearbeiten
Löschen
Eintrag löschen?
{{- if $content.TitleStmt -}}
{{ $content.TitleStmt }}
{{- end -}}

Der Eintrag wird dauerhaft gelöscht. Verknüpfungen, Exemplare und Inhalte werden entfernt.

{{- if or $content.Extent $content.MusenalmPagination -}}
Seite
{{ if $content.Extent }}{{ $content.Extent }}{{ end }}{{ if and $content.Extent $content.MusenalmPagination }}, {{ end }}{{ if $content.MusenalmPagination }}{{ $content.MusenalmPagination }}{{ end }}
{{- end -}} {{- if $content.TitleStmt -}}
Titel
{{- $content.TitleStmt -}}
{{- end -}} {{- if $content.SubtitleStmt -}}
Untertitel
{{- $content.SubtitleStmt -}}
{{- end -}} {{- if $content.ParallelTitle -}}
Paralleltitel
{{- $content.ParallelTitle -}}
{{- end -}} {{- if $content.VariantTitle -}}
Titelvarianten
{{- $content.VariantTitle -}}
{{- end -}} {{- if $content.PlaceStmt -}}
Ortsangabe
{{- $content.PlaceStmt -}}
{{- end -}} {{- if gt (len $content.Language) 0 -}}
Sprache
{{- range $i, $lang := $content.Language -}}{{- if $i }}, {{ end -}}{{- $lang -}}{{- end -}}
{{- end -}} {{- if gt (len $content.ContentType) 0 -}}
Beitragstyp
{{- range $i, $t := $content.ContentType -}}{{- if $i }}, {{ end -}}{{- $t -}}{{- end -}}
{{- end -}} {{- if $content.IncipitStmt -}}
Incipit
{{ $content.IncipitStmt }}…
{{- end -}} {{- if $content.ResponsibilityStmt -}}
Autorangabe
{{- $content.ResponsibilityStmt -}}
{{- end -}} {{- if $content.Comment -}}
Kommentar
{{- $content.Comment -}}
{{- end -}} {{- if $contentAgents -}}
Personen
{{- range $_, $rel := $contentAgents -}} {{- $agent := index $agents $rel.Agent -}} {{- if $agent -}}
{{- $agent.Name -}} {{- if $agent.BiographicalData -}} ({{ $agent.BiographicalData }}) {{- end -}}
{{- end -}} {{- end -}}
{{- end -}} {{- if $content.Annotation -}} {{- $link := printf "%s%s" "/almanach/" $entry.MusenalmIDString -}}
Anmerkung
{{- Safe (LinksAnnotation (ReplaceSlashParen $content.Annotation) $link) -}}
{{- end -}}
{{- if $openEdit -}} {{- template "_content_edit_form" (Dict "content" $content "content_id" $contentID "entry" $entry "csrf_token" $csrf "content_types" $contentTypes "musenalm_types" $musenalmTypes "pagination_values" $paginationValues "agents" $agents "content_agents" $contentAgents "agent_relations" $agentRelations "error" $error ) -}} {{- end -}}