mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 17:00:02 +02:00
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:
commit
d95fd135ac
2 changed files with 51 additions and 5 deletions
|
@ -885,13 +885,21 @@ class DomainInformationAdmin(ListHeaderAdmin):
|
||||||
"fields": [
|
"fields": [
|
||||||
"generic_org_type",
|
"generic_org_type",
|
||||||
"is_election_board",
|
"is_election_board",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"More details",
|
||||||
|
{
|
||||||
|
"classes": ["collapse"],
|
||||||
|
"fields": [
|
||||||
"federal_type",
|
"federal_type",
|
||||||
"federal_agency",
|
"federal_agency",
|
||||||
"tribe_name",
|
"tribe_name",
|
||||||
"federally_recognized_tribe",
|
"federally_recognized_tribe",
|
||||||
"state_recognized_tribe",
|
"state_recognized_tribe",
|
||||||
"about_your_organization",
|
"about_your_organization",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
@ -900,12 +908,20 @@ class DomainInformationAdmin(ListHeaderAdmin):
|
||||||
"fields": [
|
"fields": [
|
||||||
"organization_name",
|
"organization_name",
|
||||||
"state_territory",
|
"state_territory",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"More details",
|
||||||
|
{
|
||||||
|
"classes": ["collapse"],
|
||||||
|
"fields": [
|
||||||
"address_line1",
|
"address_line1",
|
||||||
"address_line2",
|
"address_line2",
|
||||||
"city",
|
"city",
|
||||||
"zipcode",
|
"zipcode",
|
||||||
"urbanization",
|
"urbanization",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -1097,13 +1113,21 @@ class DomainRequestAdmin(ListHeaderAdmin):
|
||||||
"fields": [
|
"fields": [
|
||||||
"generic_org_type",
|
"generic_org_type",
|
||||||
"is_election_board",
|
"is_election_board",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"More details",
|
||||||
|
{
|
||||||
|
"classes": ["collapse"],
|
||||||
|
"fields": [
|
||||||
"federal_type",
|
"federal_type",
|
||||||
"federal_agency",
|
"federal_agency",
|
||||||
"tribe_name",
|
"tribe_name",
|
||||||
"federally_recognized_tribe",
|
"federally_recognized_tribe",
|
||||||
"state_recognized_tribe",
|
"state_recognized_tribe",
|
||||||
"about_your_organization",
|
"about_your_organization",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
@ -1112,12 +1136,20 @@ class DomainRequestAdmin(ListHeaderAdmin):
|
||||||
"fields": [
|
"fields": [
|
||||||
"organization_name",
|
"organization_name",
|
||||||
"state_territory",
|
"state_territory",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"More details",
|
||||||
|
{
|
||||||
|
"classes": ["collapse"],
|
||||||
|
"fields": [
|
||||||
"address_line1",
|
"address_line1",
|
||||||
"address_line2",
|
"address_line2",
|
||||||
"city",
|
"city",
|
||||||
"zipcode",
|
"zipcode",
|
||||||
"urbanization",
|
"urbanization",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -420,4 +420,18 @@ address.dja-address-contact-list {
|
||||||
|
|
||||||
.errors span.select2-selection {
|
.errors span.select2-selection {
|
||||||
border: 1px solid var(--error-fg) !important;
|
border: 1px solid var(--error-fg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module.collapse {
|
||||||
|
margin-top: -35px;
|
||||||
|
padding-top: 0;
|
||||||
|
border: none;
|
||||||
|
h2 {
|
||||||
|
background: none;
|
||||||
|
color: var(--body-fg)!important;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: var(--link-fg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue