forked from Bunteshaus/bunteshaus.de
donations feature
This commit is contained in:
parent
dbf2ed7439
commit
28308d6108
|
@ -67,6 +67,8 @@ other = "Eintritt"
|
||||||
[freeentry]
|
[freeentry]
|
||||||
other = "Der Eintritt ist kostenlos."
|
other = "Der Eintritt ist kostenlos."
|
||||||
|
|
||||||
|
[donationentry]
|
||||||
|
other = "Um Spende wird gebeten."
|
||||||
[register]
|
[register]
|
||||||
other = "Anmeldung"
|
other = "Anmeldung"
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
{{ if .price }}
|
{{ if .price }}
|
||||||
{{ if eq .price "free" }}
|
{{ if eq .price "free" }}
|
||||||
<div>{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}</div>
|
<div>{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}</div>
|
||||||
|
{{ if eq .price "donation" }}
|
||||||
|
<div>{{ if i18n "donationentry" }}{{ i18n "donationaentry }}{{ else }}{{ "Voluntary Donation" }}{{ end }}</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div>{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}</div>
|
<div>{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue