Use multiselect field for bike shop services

This commit is contained in:
Bryan Housel
2016-10-31 15:06:58 -04:00
parent a8f12173ac
commit a6cf49db80
7 changed files with 20 additions and 64 deletions

View File

@@ -910,26 +910,9 @@ en:
service:
# service=*
label: Type
service/bicycle/chain_tool:
# 'service:bicycle:chain_tool=*'
label: Chain Tool
options:
# 'service:bicycle:chain_tool=no'
'no': 'No'
# 'service:bicycle:chain_tool=undefined'
undefined: Assumed to be No
# 'service:bicycle:chain_tool=yes'
'yes': 'Yes'
service/bicycle/pump:
# 'service:bicycle:pump=*'
label: Air Pump
options:
# 'service:bicycle:pump=no'
'no': 'No'
# 'service:bicycle:pump=undefined'
undefined: Assumed to be No
# 'service:bicycle:pump=yes'
'yes': 'Yes'
service/bicycle:
# 'service:bicycle:=*'
label: Services
service_rail:
# service=*
label: Service Type

View File

@@ -1222,29 +1222,10 @@
"drive-through"
]
},
"service/bicycle/chain_tool": {
"key": "service:bicycle:chain_tool",
"type": "check",
"label": "Chain Tool",
"strings": {
"options": {
"undefined": "Assumed to be No",
"yes": "Yes",
"no": "No"
}
}
},
"service/bicycle/pump": {
"key": "service:bicycle:pump",
"type": "check",
"label": "Air Pump",
"strings": {
"options": {
"undefined": "Assumed to be No",
"yes": "Yes",
"no": "No"
}
}
"service/bicycle": {
"key": "service:bicycle:",
"type": "multiCombo",
"label": "Services"
},
"shelter_type": {
"key": "shelter_type",

View File

@@ -0,0 +1,5 @@
{
"key": "service:bicycle:",
"type": "multiCombo",
"label": "Services"
}

View File

@@ -653,8 +653,7 @@
"brand",
"opening_hours",
"fee",
"service/bicycle/chain_tool",
"service/bicycle/pump"
"service/bicycle"
],
"geometry": [
"point",
@@ -8624,7 +8623,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/bicycle"
],
"geometry": [
"point",

View File

@@ -5,8 +5,7 @@
"brand",
"opening_hours",
"fee",
"service/bicycle/chain_tool",
"service/bicycle/pump"
"service/bicycle"
],
"geometry": [
"point",

View File

@@ -4,7 +4,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/bicycle"
],
"geometry": [
"point",

17
dist/locales/en.json vendored
View File

@@ -1409,21 +1409,8 @@
"service": {
"label": "Type"
},
"service/bicycle/chain_tool": {
"label": "Chain Tool",
"options": {
"undefined": "Assumed to be No",
"yes": "Yes",
"no": "No"
}
},
"service/bicycle/pump": {
"label": "Air Pump",
"options": {
"undefined": "Assumed to be No",
"yes": "Yes",
"no": "No"
}
"service/bicycle": {
"label": "Services"
},
"shelter_type": {
"label": "Type"