add hidden switch to termine
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 15s
Website Prod/Test / Testumgebung (push) Successful in 9s

This commit is contained in:
2024-08-16 20:51:08 +02:00
parent 8ee20a62f4
commit 3eaf98528a
4 changed files with 12 additions and 1 deletions

View File

@ -1 +1 @@
{{ return or (ge (.date | time.AsTime) now) (and .enddate (ge (.enddate | time.AsTime) now)) }}
{{ return and (not .hidden) (or (ge (.date | time.AsTime) now) (and .enddate (ge (.enddate | time.AsTime) now))) }}