Merge pull request #1945 from cisagov/rjm/1853-collapse-expand

Issue #1853: Show/Hide lesser-used data in domain request, domain and domain information - (bob)
This commit is contained in:
Rachid Mrad 2024-04-02 10:28:07 -04:00 committed by GitHub
commit d95fd135ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 5 deletions

View file

@ -885,13 +885,21 @@ class DomainInformationAdmin(ListHeaderAdmin):
"fields": [
"generic_org_type",
"is_election_board",
]
},
),
(
"More details",
{
"classes": ["collapse"],
"fields": [
"federal_type",
"federal_agency",
"tribe_name",
"federally_recognized_tribe",
"state_recognized_tribe",
"about_your_organization",
]
],
},
),
(
@ -900,12 +908,20 @@ class DomainInformationAdmin(ListHeaderAdmin):
"fields": [
"organization_name",
"state_territory",
]
},
),
(
"More details",
{
"classes": ["collapse"],
"fields": [
"address_line1",
"address_line2",
"city",
"zipcode",
"urbanization",
]
],
},
),
]
@ -1097,13 +1113,21 @@ class DomainRequestAdmin(ListHeaderAdmin):
"fields": [
"generic_org_type",
"is_election_board",
]
},
),
(
"More details",
{
"classes": ["collapse"],
"fields": [
"federal_type",
"federal_agency",
"tribe_name",
"federally_recognized_tribe",
"state_recognized_tribe",
"about_your_organization",
]
],
},
),
(
@ -1112,12 +1136,20 @@ class DomainRequestAdmin(ListHeaderAdmin):
"fields": [
"organization_name",
"state_territory",
]
},
),
(
"More details",
{
"classes": ["collapse"],
"fields": [
"address_line1",
"address_line2",
"city",
"zipcode",
"urbanization",
]
],
},
),
]