dorfylegends/backend/templates/events.html
2022-05-07 20:24:58 +00:00

11 lines
449 B
HTML

<ul class="mb-0">
{{- range $event := .Events }}
<li data-event-id="{{ $event.Id }}">
In {{ time $event.Year $event.Seconds72 }},
{{ html ($event.Details.Html ($.Context.WithEvent $event)) }}
{{ if ne .Collection -1 }} <a class="collection" href="/collection/{{.Collection}}"><i
class="fa-solid fa-magnifying-glass fa-xs"></i></a>{{end}}
{{ json $event.Details }}
</li>
{{- end}}
</ul>