reverted changes

This commit is contained in:
asaki222 2024-10-25 13:00:11 -04:00
parent 4b45ccd064
commit c977967e3b
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
5 changed files with 9 additions and 10 deletions

View file

@ -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 %}

View file

@ -3,16 +3,16 @@
{{ organization.federal_agency }}<br /> {{ organization.federal_agency }}<br />
{% endif %} {% endif %}
{% if organization.organization_name %} {% if organization.organization_name %}
{{ organization.organization_name }} {{ organization.organization_name }}
{% endif %} {% endif %}
{% if organization.address_line1 %} {% if organization.address_line1 %}
<br />{{ organization.address_line1 }} <br />{{ organization.address_line1 }}
{% endif %} {% endif %}
{% if organization.address_line2 %} {% if organization.address_line2 %}
<br />{{ organization.address_line2 }} <br />{{ organization.address_line2 }}
{% endif %} {% endif %}
{% if organization.city %} {% if organization.city %}
<br />{{ organization.city}}{% if organization.state_territory %},&nbsp; <br />{{ organization.city }}{% if organization.state_territory %},&nbsp;
{% else %}<br /> {% else %}<br />
{% endif %} {% endif %}
{% endif %} {% endif %}

View file

@ -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 %}

View file

@ -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 %}

View file

@ -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)