mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 23:16:36 +02:00
corrected changes :-)
This commit is contained in:
parent
0b0250bf4e
commit
30d7e561ef
4 changed files with 50 additions and 39 deletions
|
@ -1766,7 +1766,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
"Contacts",
|
"Contacts",
|
||||||
{
|
{
|
||||||
"fields": [
|
"fields": [
|
||||||
"senior_official",
|
"converted_senior_official",
|
||||||
"other_contacts",
|
"other_contacts",
|
||||||
"no_other_contacts_rationale",
|
"no_other_contacts_rationale",
|
||||||
"cisa_representative_first_name",
|
"cisa_representative_first_name",
|
||||||
|
@ -1781,7 +1781,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
{
|
{
|
||||||
"fields": [
|
"fields": [
|
||||||
"is_election_board",
|
"is_election_board",
|
||||||
"organization_type",
|
"converted_generic_org_type",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -1791,8 +1791,8 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
"classes": ["collapse--dgfieldset"],
|
"classes": ["collapse--dgfieldset"],
|
||||||
"description": "Extends type of organization",
|
"description": "Extends type of organization",
|
||||||
"fields": [
|
"fields": [
|
||||||
"federal_type",
|
"converted_federal_type",
|
||||||
"federal_agency",
|
"converted_federal_agency",
|
||||||
"tribe_name",
|
"tribe_name",
|
||||||
"federally_recognized_tribe",
|
"federally_recognized_tribe",
|
||||||
"state_recognized_tribe",
|
"state_recognized_tribe",
|
||||||
|
@ -1804,8 +1804,8 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
"Organization name and mailing address",
|
"Organization name and mailing address",
|
||||||
{
|
{
|
||||||
"fields": [
|
"fields": [
|
||||||
"organization_name",
|
"converted_organization_name",
|
||||||
"state_territory",
|
"converted_state_territory",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -1815,11 +1815,11 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
"classes": ["collapse--dgfieldset"],
|
"classes": ["collapse--dgfieldset"],
|
||||||
"description": "Extends organization name and mailing address",
|
"description": "Extends organization name and mailing address",
|
||||||
"fields": [
|
"fields": [
|
||||||
"address_line1",
|
"converted_address_line1",
|
||||||
"address_line2",
|
"converted_address_line2",
|
||||||
"city",
|
"converted_city",
|
||||||
"zipcode",
|
"converted_zipcode",
|
||||||
"urbanization",
|
"converted_urbanization",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -1832,6 +1832,17 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||||
"alternative_domains",
|
"alternative_domains",
|
||||||
"is_election_board",
|
"is_election_board",
|
||||||
"status_history",
|
"status_history",
|
||||||
|
"converted_senior_official",
|
||||||
|
"converted_federal_type",
|
||||||
|
"converted_federal_agency",
|
||||||
|
"converted_state_territory",
|
||||||
|
"converted_organization_name",
|
||||||
|
"converted_address_line1",
|
||||||
|
"converted_address_line2",
|
||||||
|
"converted_zipcode",
|
||||||
|
"converted_urbanization",
|
||||||
|
"converted_city",
|
||||||
|
"converted_generic_org_type"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Read only that we'll leverage for CISA Analysts
|
# Read only that we'll leverage for CISA Analysts
|
||||||
|
|
|
@ -163,8 +163,8 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_federal_type %}
|
{% if DomainRequest.get_federal_type %}
|
||||||
{% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.converted_federal_type heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.get_federal_type heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.is_election_board %}
|
{% if DomainRequest.is_election_board %}
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_organization_name %}
|
{% if DomainRequest.organization_name %}
|
||||||
{% include "includes/summary_item.html" with title='Organization' value=DomainRequest address='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Organization' value=DomainRequest address='true' heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -181,8 +181,8 @@
|
||||||
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_senior_official %}
|
{% if DomainRequest.senior_official %}
|
||||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.current_websites.all %}
|
{% if DomainRequest.current_websites.all %}
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
<address>
|
<address>
|
||||||
{% if organization.converted_federal_agency %}
|
{% if organization.federal_agency %}
|
||||||
{{ organization.converted_federal_agency }}<br />
|
{{ organization.federal_agency }}<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_organization_name %}
|
{% if organization.organization_name %}
|
||||||
{{ organization.converted_organization_name }}
|
{{ organization.organization_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_address_line1 %}
|
{% if organization.address_line1 %}
|
||||||
<br />{{ organization.converted_address_line1 }}
|
<br />{{ organization.address_line1 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_address_line2 %}
|
{% if organization.address_line2 %}
|
||||||
<br />{{ organization.converted_address_line2 }}
|
<br />{{ organization.address_line2 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_city %}
|
{% if organization.city %}
|
||||||
<br />{{ organization.converted_city }}{% if organization.converted_state_territory %},
|
<br />{{ organization.city }}{% if organization.state_territory %},
|
||||||
{% else %}<br />
|
{% else %}<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_state_territory %}
|
{% if organization.state_territory %}
|
||||||
{{ organization.converted_state_territory }}
|
{{ organization.state_territory }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_zipcode %}
|
{% if organization.zipcode %}
|
||||||
<br />{{ organization.converted_zipcode }}
|
<br />{{ organization.zipcode }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.converted_urbanization %}
|
{% if organization.urbanization %}
|
||||||
<br />{{ organization.converted_urbanization }}
|
<br />{{ organization.urbanization }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</address>
|
</address>
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
|
|
||||||
{% block request_summary %}
|
{% block request_summary %}
|
||||||
{% with heading_level='h3' %}
|
{% with heading_level='h3' %}
|
||||||
{% with org_type=DomainRequest.converted_generic_org_type%}
|
{% with org_type=DomainRequest.get_generic_org_type_display %}
|
||||||
{% include "includes/summary_item.html" with title='Type of organization' value=org_type heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Type of organization' value=org_type heading_level=heading_level %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
@ -163,8 +163,8 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_federal_type %}
|
{% if DomainRequest.get_federal_type_display %}
|
||||||
{% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.converted_federal_type heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.get_federal_type_display heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.is_election_board %}
|
{% if DomainRequest.is_election_board %}
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_organization_name %}
|
{% if DomainRequest.organization_name %}
|
||||||
{% include "includes/summary_item.html" with title='Organization' value=DomainRequest address='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Organization' value=DomainRequest address='true' heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -181,8 +181,8 @@
|
||||||
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.converted_senior_official %}
|
{% if DomainRequest.senior_official %}
|
||||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.current_websites.all %}
|
{% if DomainRequest.current_websites.all %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue