dorfylegends/backend/templates/events.html

11 lines
449 B
HTML
Raw Normal View History

2022-04-30 10:45:31 +03:00
<ul class="mb-0">
2022-04-26 21:06:21 +03:00
{{- range $event := .Events }}
2022-05-07 23:24:58 +03:00
<li data-event-id="{{ $event.Id }}">
In {{ time $event.Year $event.Seconds72 }},
2022-05-05 17:55:57 +03:00
{{ html ($event.Details.Html ($.Context.WithEvent $event)) }}
2022-05-03 15:59:47 +03:00
{{ 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 }}
2022-04-16 23:12:23 +03:00
</li>
{{- end}}
</ul>