forked from MapComplete/MapComplete
Add brands to shops, remove NSI-type from public_bookcase.json
This commit is contained in:
parent
136f39cf50
commit
f6d93a6ab1
2 changed files with 21 additions and 5 deletions
|
@ -130,10 +130,6 @@
|
||||||
"condition": "ref=",
|
"condition": "ref=",
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "brand",
|
"key": "brand",
|
||||||
"type": "nsi",
|
|
||||||
"helperArgs": [
|
|
||||||
"amenity=public_bookcase"
|
|
||||||
],
|
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"en": "Name of the network"
|
"en": "Name of the network"
|
||||||
},
|
},
|
||||||
|
|
|
@ -282,6 +282,26 @@
|
||||||
"invalidValues": "shop=yes"
|
"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",
|
"id": "second_hand",
|
||||||
"question": {
|
"question": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue