Readd questions in toilet which dissappeared

This commit is contained in:
pietervdvn 2021-11-08 03:05:37 +01:00
parent fda9eaead4
commit 36faf6f7f1

View file

@ -285,6 +285,31 @@
},
"id": "toilet-charge"
},
{
"builtin": "payment-options",
"override": {
"condition": "fee=yes"
}
},
{
"id": "Opening-hours",
"question": {
"en": "When are these toilets opened?",
"nl": "Wanneer zijn deze toiletten open?"
},
"render": "{opening_hours_table()}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"mappings": [{
"if": "opening_hours=24/7",
"then": {
"en": "Opened 24/7",
"nl": "Altijd open"
}
}]
},
{
"id": "toilets-wheelchair",
"question": {
@ -515,10 +540,32 @@
"de": "Für diese Toilette müssen Sie Ihr eigenes Toilettenpapier mitbringen"
}
}
],
"condition": {
"#": "Urinals normally don't have toilet paper",
"and": ["toilets:position!=urinal"]
}
]
}
],
"iconBadges": [{
"if": "opening_hours~*",
"then": "isOpen"
}],
"filter": [
{
"id": "is_open",
"options": [{
"question": {
"nl": "Nu geopened",
"en": "Opened now"
},
"osmTags": {
"or": ["opening_hours=","_isOpen=yes"]
}
}
]
},
{
"id": "wheelchair",
"options": [