Adds conditional render of carriage width question

This commit is contained in:
pgm-chardelv1 2021-07-07 19:59:56 +02:00
parent 18753a3548
commit b9aa1435cc

View file

@ -321,13 +321,20 @@
} }
}, },
{ {
"condition": {
"or": [
"cycleway=shared_lane",
"cycleway="
]
},
"render": { "render": {
"en": "The carriage width of this road is <strong>{width:carriageway}m</strong>", "en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>" "nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
}, },
"freeform": { "freeform": {
"key": "width:carriageway", "key": "width:carriageway",
"addExtraTags": [] "addExtraTags": [],
"type": "pfloat"
}, },
"question": { "question": {
"en": "What is the carriage width of this road (in meters)?", "en": "What is the carriage width of this road (in meters)?",