datatracker/ietf/ipr/view_sections.py
Henrik Levkowetz 64dc0f83c6 * Some code reorganization, moving the large new-disclosure functiality
into view_new.py
 * Added error indication of the top of the page, in case there are any
   errors further down.
 * Set more fields to required, matching the old perl code
 * Various other tweaks.
 - Legacy-Id: 140
2007-05-20 23:42:39 +00:00

37 lines
2.6 KiB
Python

section_table = {
"index": { "index": True },
"specific": { "index": False, "title": True, "specific": True,
"legacy_intro": False, "new_intro": True, "form_intro": False,
"holder": True, "holder_contact": True, "ietf_contact": True,
"ietf_doc": True, "patent_info": True, "licensing": True,
"submitter": True, "notes": True, "form_submit": False,
"disclosure_type": "Specific", "form_legend": False,
"per_rfc_disclosure": True, "also_specific": False,
},
"generic": { "index": False, "title": True, "generic": True,
"legacy_intro": False, "new_intro": True, "form_intro": False,
"holder": True, "holder_contact": True, "ietf_contact": False,
"ietf_doc": False, "patent_info": True, "licensing": True,
"submitter": True, "notes": True, "form_submit": False,
"disclosure_type": "Generic", "form_legend": False,
"per_rfc_disclosure": False, "also_specific": True,
},
"third_party": {"index": False, "title": True, "third_party": True,
"legacy_intro": False, "new_intro": True, "form_intro": False,
"holder": True, "holder_contact": False, "ietf_contact": True,
"ietf_doc": True, "patent_info": True, "licensing": False,
"submitter": False, "notes": False, "form_submit": False,
"disclosure_type": "Third Party", "form_legend": False,
"per_rfc_disclosure": False, "also_specific": False,
},
"legacy": { "index": False, "title": True, "legacy": True,
"legacy_intro": True, "new_intro": False, "form_intro": False,
"holder": True, "holder_contact": True, "ietf_contact": False,
"ietf_doc": True, "patent_info": False, "licensing": False,
"submitter": False, "notes": False, "form_submit": False,
"disclosure_type": "Legacy", "form_legend": False,
"per_rfc_disclosure": False, "also_specific": False,
},
}