Sync dev with master #240

Merged
GCG.Admin (Automatisiert) merged 107 commits from master into dev 2023-09-23 21:18:21 +02:00
Showing only changes of commit 9728ca4e45 - Show all commits

@ -7,7 +7,7 @@
<li class="list-inline-item m-3 text-uppercase" data-filter="upcoming">Anstehend</li> <li class="list-inline-item m-3 text-uppercase" data-filter="upcoming">Anstehend</li>
<li class="list-inline-item m-3 text-uppercase" data-filter="past">Vergangen</li> <li class="list-inline-item m-3 text-uppercase" data-filter="past">Vergangen</li>
</ul> </ul>
<div class="filtr-container row"> <div class="filtr-container row mx-auto">
{{ range .Params.events }} {{ range .Params.events }}
<div class="filtr-item col-12" data-category="{{ if or (ge (.date | time.AsTime).Unix now.Unix) (and .enddate (ge (.enddate | time.AsTime).Unix now.Unix)) }}upcoming{{else}}past{{end}}" data-time="{{.date}}"> <div class="filtr-item col-12" data-category="{{ if or (ge (.date | time.AsTime).Unix now.Unix) (and .enddate (ge (.enddate | time.AsTime).Unix now.Unix)) }}upcoming{{else}}past{{end}}" data-time="{{.date}}">
{{ partial "termin" . }} {{ partial "termin" . }}