Don't show denomination field if religion=none (close #7135)

This commit is contained in:
Quincy Morgan
2019-12-18 10:00:09 -05:00
parent afba5797e1
commit c9348e2776
2 changed files with 3 additions and 2 deletions

View File

@@ -98,7 +98,7 @@
"dance/style": {"key": "dance:style", "type": "semiCombo", "label": "Dance Styles"},
"date": {"key": "date", "type": "check", "label": "Date"},
"delivery": {"key": "delivery", "type": "check", "label": "Delivery"},
"denomination": {"key": "denomination", "type": "combo", "label": "Denomination", "prerequisiteTag": {"key": "religion"}},
"denomination": {"key": "denomination", "type": "combo", "label": "Denomination", "prerequisiteTag": {"key": "religion", "valueNot": "none"}},
"denotation": {"key": "denotation", "type": "combo", "label": "Denotation"},
"departures_board": {"key": "departures_board", "type": "combo", "label": "Departures Board", "strings": {"options": {"yes": "Yes", "timetable": "Timetable", "realtime": "Realtime", "no": "None"}}},
"description": {"key": "description", "type": "textarea", "label": "Description", "universal": true, "terms": ["summary"]},

View File

@@ -3,6 +3,7 @@
"type": "combo",
"label": "Denomination",
"prerequisiteTag": {
"key": "religion"
"key": "religion",
"valueNot": "none"
}
}