Add brands to shops, remove NSI-type from public_bookcase.json

This commit is contained in:
Pieter Vander Vennet 2024-05-23 04:40:49 +02:00
parent 136f39cf50
commit f6d93a6ab1
2 changed files with 21 additions and 5 deletions

View file

@ -130,10 +130,6 @@
"condition": "ref=",
"freeform": {
"key": "brand",
"type": "nsi",
"helperArgs": [
"amenity=public_bookcase"
],
"placeholder": {
"en": "Name of the network"
},
@ -629,4 +625,4 @@
"neededChangesets": 5
},
"allowMove": true
}
}

View file

@ -282,6 +282,26 @@
"invalidValues": "shop=yes"
}
},
{
"id": "brand",
"question": {
"en": "What is the brand of this shop?"
},
"render": {
"en": "Part of <b>{brand}</b>"
},
"freeform": {
"key":"brand"
},
"mappings": [
{
"if": "not:brand=yes",
"then": {
"en": "This shop does not have a specific brand, it is not part of a bigger chain"
}
}
]
},
{
"id": "second_hand",
"question": {