mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 02:36:02 +02:00
reverted changes
This commit is contained in:
parent
4b45ccd064
commit
c977967e3b
5 changed files with 9 additions and 10 deletions
|
@ -146,7 +146,7 @@
|
||||||
|
|
||||||
{% block request_summary %}
|
{% block request_summary %}
|
||||||
{% with heading_level='h3' %}
|
{% with heading_level='h3' %}
|
||||||
{% with org_type=DomainRequest.generic_org_type %}
|
{% with org_type=DomainRequest.get_generic_org_type %}
|
||||||
{% 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 %}
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.get_federal_type_display %}
|
{% if DomainRequest.get_federal_type_display %}
|
||||||
{% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.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 %}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<br />{{ organization.address_line2 }}
|
<br />{{ organization.address_line2 }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if organization.city %}
|
{% if organization.city %}
|
||||||
<br />{{ organization.city}}{% if organization.state_territory %},
|
<br />{{ organization.city }}{% if organization.state_territory %},
|
||||||
{% else %}<br />
|
{% else %}<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
{% if step == Step.ORGANIZATION_TYPE %}
|
{% if step == Step.ORGANIZATION_TYPE %}
|
||||||
{% if domain_request.generic_org_type is not None %}
|
{% if domain_request.generic_org_type is not None %}
|
||||||
{% with title=form_titles|get_item:step value=domain_request.generic_org_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
|
{% with title=form_titles|get_item:step value=domain_request.get_generic_org_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
|
||||||
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if step == Step.ORGANIZATION_FEDERAL %}
|
{% if step == Step.ORGANIZATION_FEDERAL %}
|
||||||
{% with title=form_titles|get_item:step value=domain_request.federal_type|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
|
{% with title=form_titles|get_item:step value=domain_request..get_federal_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %}
|
||||||
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
|
|
||||||
{% block request_summary %}
|
{% block request_summary %}
|
||||||
{% with heading_level='h3' %}
|
{% with heading_level='h3' %}
|
||||||
{% with org_type=DomainRequest.generic_org_type_display %}
|
{% 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 %}
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,6 @@ class GenericTestHelper(TestCase):
|
||||||
|
|
||||||
# Use changelist_view to get the sorted queryset
|
# Use changelist_view to get the sorted queryset
|
||||||
response = self.admin.changelist_view(dummy_request)
|
response = self.admin.changelist_view(dummy_request)
|
||||||
|
|
||||||
response.render() # Render the response before accessing its content
|
response.render() # Render the response before accessing its content
|
||||||
returned_sort_order = list(response.context_data["cl"].result_list)
|
returned_sort_order = list(response.context_data["cl"].result_list)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue