Units field to Apartment Building

This commit is contained in:
ogbeche77
2020-08-17 19:07:49 +02:00
parent 5915270331
commit fd5365cd75
5 changed files with 18 additions and 0 deletions
+5
View File
@@ -367,6 +367,11 @@ en:
label: Building
# 'terms: structure'
terms: '[translate with synonyms or related terms for ''Building'', separated by commas]'
building/flats:
# 'building:flats=*'
label: Units
# building/flats field placeholder
placeholder: '2, 4, 6, 8...'
building/levels:
# 'building:levels=*'
label: Levels
+1
View File
@@ -57,6 +57,7 @@
"bridge/support": {"key": "bridge:support", "type": "typeCombo", "label": "Type"},
"building_area": {"key": "building", "type": "combo", "default": "yes", "geometry": ["area"], "label": "Building"},
"building": {"key": "building", "type": "combo", "label": "Building", "terms": ["structure"]},
"building/flats": {"key": "building:flats", "type": "number", "minValue": 0, "label": "Units", "placeholder": "2, 4, 6, 8..."},
"building/levels_building": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Building Levels", "placeholder": "2, 4, 6...", "prerequisiteTag": {"key": "building", "valueNot": "no"}},
"building/levels": {"key": "building:levels", "type": "number", "minValue": 0, "label": "Levels", "placeholder": "2, 4, 6..."},
"building/levels/underground": {"key": "building:levels:underground", "type": "number", "minValue": 0, "label": "Underground Levels", "placeholder": "2, 4, 6...", "terms": ["basement levels"]},
+7
View File
@@ -0,0 +1,7 @@
{
"key": "building:flats",
"type": "number",
"minValue": 0,
"label": "Units",
"placeholder": "2, 4, 6, 8..."
}
+1
View File
@@ -1387,6 +1387,7 @@
{"key": "boules", "description": "🄵 Type"},
{"key": "brand", "description": "🄵 Brand"},
{"key": "brewery", "description": "🄵 Draft Beers"},
{"key": "building:flats", "description": "🄵 Units"},
{"key": "building:levels", "description": "🄵 Building Levels, 🄵 Levels"},
{"key": "building:levels:underground", "description": "🄵 Underground Levels"},
{"key": "building:material", "description": "🄵 Material"},
+4
View File
@@ -3070,6 +3070,10 @@
"label": "Building",
"terms": "structure"
},
"building/flats": {
"label": "Units",
"placeholder": "2, 4, 6, 8..."
},
"building/levels_building": {
"label": "Building Levels",
"terms": "",