diff --git a/src/registrar/templates/application_status.html b/src/registrar/templates/application_status.html index 785f72d19..1a47e4d77 100644 --- a/src/registrar/templates/application_status.html +++ b/src/registrar/templates/application_status.html @@ -4,6 +4,7 @@ {% load static url_helpers %} {% block content %} +
@@ -36,12 +37,73 @@

Summary of your domain request

-
-

-


Type of organization
- {{ domainapplication.get_organization_type_display }} -

+{% include "includes/summary_item.html" with title='Type of organization' value=domainapplication.get_organization_type_display %} +{% if domainapplication.tribe_name %} + {% include "includes/summary_item.html" with title='Tribal government' value=domainapplication.tribe_name%} + {% if domainapplication.federally_recognized_tribe %} +

Federally-recognized tribe

+ {% endif %} + {% if domainapplication.state_recognized_tribe %} +

State-recognized tribe

+ {% endif %} +{% endif %} + +{% if domainapplication.get_federal_type_display %} + {% include "includes/summary_item.html" with title='Federal government branch' value=domainapplication.get_federal_type_display %} +{% endif %} + +{% if domainapplication.is_election_board %} + {% include "includes/summary_item.html" with title='Election office' value=domainapplication.is_election_board %} +{% endif %} + +{% if domainapplication.organization_name %} + {% include "includes/summary_item.html" with title='Organization address' value=domainapplication address='true' %} +{% endif %} + +{% if domainapplication.type_of_work %} + {% include "includes/summary_item.html" with title='Type of work' value=domainapplication.type_of_work %} +{% endif %} + +{% if domainapplication.more_organization_information %} + {% include "includes/summary_item.html" with title='Further information about the government organization' value=domainapplication.type_of_work %} +{% endif %} + +{% if domainapplication.more_organization_information %} + {% include "includes/summary_item.html" with title='Further information about the government organization' value=domainapplication.type_of_work %} +{% endif %} + +{% if domainapplication.authorizing_official %} + {% include "includes/summary_item.html" with title='Authorizing official' value=domainapplication.authorizing_official contact='true' %} +{% endif %} + +{% if domainapplication.current_websites.all %} + {% include "includes/summary_item.html" with title='Current website for your organization' value=domainapplication.current_websites.all list='true' %} +{% endif %} + +{% if domainapplication.purpose %} + {% include "includes/summary_item.html" with title='Purpose of your domain' value=domainapplication.purpose %} +{% endif %} + +{% if domainapplication.submitter %} + {% include "includes/summary_item.html" with title='Your contact information' value=domainapplication.submitter contact='true'%} +{% endif %} + + {% include "includes/summary_item.html" with title='Other employees from your organization' value=domainapplication.other_contacts.all contact='true' list='true' %} + + {% include "includes/summary_item.html" with title='Anything else we should know' value=domainapplication.anything_else|default:"No" %} + +---- +{% for k,v in domainapplication.get_context_data %} +{{k}}- {{v}} +{% endfor %} +---- + + +
+
+

Type of organization

+

{{ domainapplication.get_organization_type_display }}

{% if domainapplication.tribe_name %}

{{ domainapplication.tribe_name }}

{% endif %} @@ -110,5 +172,5 @@
- +
{% endblock %} diff --git a/src/registrar/templates/includes/summary_item.html b/src/registrar/templates/includes/summary_item.html index 0e89f80be..d1511e96d 100644 --- a/src/registrar/templates/includes/summary_item.html +++ b/src/registrar/templates/includes/summary_item.html @@ -6,8 +6,40 @@ > {{ title }}

+ {% if address %} + {% include "includes/organization_address.html" with organization=value %} + {% elif contact %} + {% if list %} + {% if value|length == 1 %} + {% include "includes/contact.html" with contact=value|first %} + {% else %} +

+ + {% endif %} + {% else %} + {% include "includes/contact.html" with contact=value %} + {% endif %} + {% elif list %} + {% if value|length == 1 %} +

{{ value | first }}

+ {% else %} +

+ + {% endif %} + {% else %}

- {{ value }} + {{ value }}

+ {% endif %}