Show "Unknown" for opening hours placeholder

(closes #6207)
This commit is contained in:
Bryan Housel
2019-04-19 19:55:24 -04:00
parent b566ef05b5
commit 860454d982
5 changed files with 987 additions and 1191 deletions
+2
View File
@@ -1255,6 +1255,8 @@ en:
opening_hours:
# opening_hours=*
label: Hours
# opening_hours field placeholder
placeholder: Unknown
operator:
# operator=*
label: Operator
+1 -1
View File
@@ -236,7 +236,7 @@
"oneway": {"key": "oneway", "type": "onewayCheck", "label": "One Way", "strings": {"options": {"undefined": "Assumed to be No", "yes": "Yes", "no": "No", "reversible": "Reversible", "alternating": "Alternating"}}},
"oneway/bicycle": {"key": "oneway:bicycle", "type": "check", "label": "One Way (Bicycles)", "prerequisiteTag": {"key": "oneway"}},
"opening_date": {"key": "opening_date", "type": "text", "label": "Expected Opening Date"},
"opening_hours": {"key": "opening_hours", "type": "combo", "label": "Hours", "snake_case": false},
"opening_hours": {"key": "opening_hours", "type": "combo", "label": "Hours", "placeholder": "Unknown", "snake_case": false},
"operator": {"key": "operator", "type": "text", "label": "Operator"},
"outdoor_seating": {"key": "outdoor_seating", "type": "check", "label": "Outdoor Seating"},
"par": {"key": "par", "type": "number", "minValue": 1, "label": "Par", "placeholder": "3, 4, 5..."},
+1
View File
@@ -2,5 +2,6 @@
"key": "opening_hours",
"type": "combo",
"label": "Hours",
"placeholder": "Unknown",
"snake_case": false
}
+981 -1189
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -3277,7 +3277,8 @@
"label": "Expected Opening Date"
},
"opening_hours": {
"label": "Hours"
"label": "Hours",
"placeholder": "Unknown"
},
"operator": {
"label": "Operator"