mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +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 %}
|
||||
{% 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 %}
|
||||
{% endwith %}
|
||||
|
||||
|
@ -164,7 +164,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
{% if DomainRequest.is_election_board %}
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
{{ organization.federal_agency }}<br />
|
||||
{% endif %}
|
||||
{% if organization.organization_name %}
|
||||
{{ organization.organization_name }}
|
||||
{{ organization.organization_name }}
|
||||
{% endif %}
|
||||
{% if organization.address_line1 %}
|
||||
<br />{{ organization.address_line1 }}
|
||||
{% endif %}
|
||||
{% if organization.address_line2 %}
|
||||
<br />{{ organization.address_line2 }}
|
||||
<br />{{ organization.address_line2 }}
|
||||
{% endif %}
|
||||
{% if organization.city %}
|
||||
<br />{{ organization.city}}{% if organization.state_territory %},
|
||||
{% if organization.city %}
|
||||
<br />{{ organization.city }}{% if organization.state_territory %},
|
||||
{% else %}<br />
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
{% if step == Step.ORGANIZATION_TYPE %}
|
||||
{% 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 %}
|
||||
{% endwith %}
|
||||
{% else %}
|
||||
|
@ -29,7 +29,7 @@
|
|||
|
||||
|
||||
{% 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 %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
|
||||
{% block request_summary %}
|
||||
{% 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 %}
|
||||
{% endwith %}
|
||||
|
||||
|
|
|
@ -191,7 +191,6 @@ class GenericTestHelper(TestCase):
|
|||
|
||||
# Use changelist_view to get the sorted queryset
|
||||
response = self.admin.changelist_view(dummy_request)
|
||||
|
||||
response.render() # Render the response before accessing its content
|
||||
returned_sort_order = list(response.context_data["cl"].result_list)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue