Skip to content

Commit

Permalink
Add government=* type field to Government Office preset
Browse files Browse the repository at this point in the history
(closes #4517)
  • Loading branch information
bhousel committed Nov 10, 2017
1 parent 6a44bf9 commit e113c47
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,9 @@ en:
generator/type:
# 'generator:type=*'
label: Type
government:
# government=*
label: Type
grape_variety:
# grape_variety=*
label: Grape Varieties
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,11 @@
"type": "combo",
"label": "Type"
},
"government": {
"key": "government",
"type": "typeCombo",
"label": "Type"
},
"grape_variety": {
"key": "grape_variety",
"type": "semiCombo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/government.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "government",
"type": "typeCombo",
"label": "Type"
}
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -11818,6 +11818,7 @@
"icon": "commercial",
"fields": [
"name",
"government",
"address",
"building_area",
"opening_hours"
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/office/government.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "commercial",
"fields": [
"name",
"government",
"address",
"building_area",
"opening_hours"
Expand Down
3 changes: 3 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,9 @@
"generator/type": {
"label": "Type"
},
"government": {
"label": "Type"
},
"grape_variety": {
"label": "Grape Varieties"
},
Expand Down

0 comments on commit e113c47

Please sign in to comment.