Merge pull request #1537 from pietervdvn/fix/penny-press

Fix/penny press
This commit is contained in:
Pieter Vander Vennet 2023-08-09 23:25:23 +02:00 committed by GitHub
commit 64648f7bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 2 deletions

View file

@ -55,6 +55,28 @@
}
]
},
{
"id": "accepts_debit_cards",
"options": [
{
"osmTags": "payment:debit_cards=yes",
"question": {
"en": "Accepts debit cards"
}
}
]
},
{
"id": "accepts_credit_cards",
"options": [
{
"osmTags": "payment:credit_cards=yes",
"question": {
"en": "Accepts credit cards"
}
}
]
},
{
"id": "has_image",
"options": [

View file

@ -2174,6 +2174,33 @@
}
}
]
},
{
"id": "check_date",
"question": {
"en": "When was this object last checked?",
"de": "Wann wurde dieses Objekt zuletzt kontrolliert?",
"nl": "Wanneer is dit object voor het laatst gecontroleerd?"
},
"freeform": {
"key": "check_date",
"type": "date"
},
"render": {
"en": "This object was last checked on <b>{check_date}</b>",
"de": "Dieses Objekt wurde zuletzt kontrolliert am <b>{check_date}</b>",
"nl": "Dit object is voor het laatst gecontroleerd op <b>{check_date}</b>"
},
"mappings": [
{
"if": "check_date:={_now:date}",
"then": {
"en": "This object was last checked today",
"de": "Dieses Objekt wurde heute zuletzt kontrolliert",
"nl": "Dit object is vandaag voor het laatst gecontroleerd"
}
}
]
}
]
}

View file

@ -86,6 +86,7 @@
}
]
},
"payment-options-split",
{
"id": "coin",
"question": {
@ -205,7 +206,8 @@
}
]
},
"level"
"level",
"check_date"
],
"mapRendering": [
{
@ -235,8 +237,15 @@
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true,
"filter": [
"open_now"
"open_now",
"accepts_debit_cards",
"accepts_credit_cards"
]
}
],