donations feature fix

This commit is contained in:
teldra 2022-04-22 11:37:51 +02:00
parent 47d5a330d0
commit 485e6a17fa
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ other = "Der Eintritt ist kostenlos."
[donationentry]
other = "Um Spende wird gebeten."
[register]
other = "Anmeldung"

View File

@ -8,7 +8,7 @@
{{ if eq .price "free" }}
<div>{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}</div>
{{ else if eq .price "donation" }}
<div>{{ if i18n "donationentry" }}{{ i18n "donationaentry" }}{{ else }}{{ "Voluntary Donation" }}{{ end }}</div>
<div>{{ if i18n "donationentry" }}{{ i18n "donationentry" }}{{ else }}{{ "Voluntary Donation" }}{{ end }}</div>
{{ else }}
<div>{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}</div>
{{ end }}