Add contact information to recycling centers

This commit is contained in:
Pieter Vander Vennet 2022-02-22 16:11:00 +01:00
parent bc890f5476
commit 793d765ead
5 changed files with 73 additions and 4 deletions

View file

@ -22,12 +22,20 @@
},
"mappings": [
{
"if": "recycling_type=centre",
"if": "name~*",
"then": {
"*": "{name}",
"en": "Recycling centre",
"nl": "Recyclingcentrum"
}
},
{
"if": "recycling_type=centre",
"then": {
"en": "Recycling container",
"nl": "Recyclingcontainer"
}
},
{
"if": "recycling_type=container",
"then": {
@ -419,6 +427,7 @@
}
],
"tagRenderings": [
"images",
{
"id": "recycling-type",
"question": {
@ -471,6 +480,30 @@
}
]
},
{
"id": "recycling-centre-name",
"question": {
"en": "What is the name of this recycling centre?",
"nl": "Wat is de naam van dit recyclagecentrum?"
},
"render": {
"en": "This recycling centre is named <b>{name}</b>",
"nl": "Dit recyclagecentrum heet <b>{name}</b>"
},
"freeform": {
"key": "name"
},
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "This recycling centre doesn't have a specific name",
"nl": "Dit recyclagecentrum heeft geen specifieke naam"
}
}
],
"condition": "recycling_type=centre"
},
{
"id": "container-location",
"question": {
@ -770,6 +803,16 @@
"type": "string"
}
},
{
"builtin": [
"website",
"email",
"phone"
],
"override": {
"condition": "recycling_type=centre"
}
},
{
"id": "opening_hours",
"render": "{opening_hours_table()}",
@ -946,7 +989,9 @@
]
}
],
"deletion": {"neededChangesets": 1},
"deletion": {
"neededChangesets": 1
},
"allowMove": {
"enableRelocation": false,
"enableImproveAccuracy": true