FileWatcher redone

This commit is contained in:
Simon Martens
2024-12-04 14:05:35 +01:00
parent 09d900b5b3
commit a39d6be822
7 changed files with 63 additions and 54 deletions

View File

@@ -16,7 +16,7 @@
<!-- Links zu anderen Teilen: -->
{{ if gt (len $piece.IssueRefs) 1 }}
<div>
{{ len $piece.IssueRefs }} Teile
{{ len $piece.IssueRefs }} Teile:
<ol>
{{ range $issue := $piece.IssueRefs }}
<li>

View File

@@ -3,15 +3,17 @@ 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>
<div class="authors">
{{ 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="author inline-block">{{- index $agent.Names 0 -}}</div>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</div>
{{ range $annotation := $piece.AnnotationNote.Annotations }}
<div>