Better tag rewriting, add icons, add bicycle rental theme

This commit is contained in:
Pieter Vander Vennet 2022-01-29 02:45:59 +01:00
parent 1dcb3897e4
commit 9594868e83
23 changed files with 389 additions and 117 deletions

View file

@ -558,6 +558,7 @@
{
"if": "payment:cash=yes",
"ifnot": "payment:cash=no",
"icon": "./assets/svg/cash.svg",
"then": {
"en": "Cash is accepted here",
"nl": "Cash geld wordt hier aanvaard",
@ -579,6 +580,7 @@
{
"if": "payment:cards=yes",
"ifnot": "payment:cards=no",
"icon": "./assets/svg/payment_card.svg",
"then": {
"en": "Payment cards are accepted here",
"nl": "Betalen met bankkaarten kan hier",
@ -599,6 +601,31 @@
}
]
},
"payment-options-advanced": {
"builtin": "payment-options",
"override": {
"mappings+": [
{
"if": "payment:app=yes",
"ifnot": "payment:app=no",
"icon": "./assets/svg/smartphone.svg",
"then": {
"en": "Payment is done using a dedicated app",
"nl": "Betalen via een app van het netwerk"
}
},
{
"if": "payment:membership_card=yes",
"ifnot": "payment:membership_card=no",
"icon": "./assets/svg/nfc_card.svg",
"then": {
"en": "Payment is done using a membership card",
"nl": "Betalen via een lidkaart van het netwerk"
}
}
]
}
},
"last_edit": {
"#": "Gives some metainfo about the last edit and who did edit it - rendering only",
"condition": "_last_edit:contributor~*",