added missing parts of the converted methods

This commit is contained in:
asaki222 2024-10-21 18:18:05 -04:00
parent 32183a2fa7
commit e69a296cd4
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
4 changed files with 10 additions and 10 deletions

View file

@ -673,7 +673,7 @@ class DomainRequest(TimeStampedModel):
def send_custom_status_update_email(self, status): def send_custom_status_update_email(self, status):
"""Helper function to send out a second status email when the status remains the same, """Helper function to send out a second status email when the status remains the same,
but the reason has changed.""" but the reason has changed."""
# Currently, we store all this information in three variables. # Currently, we store all this information in three variables.
# When adding new reasons, this can be a lot to manage so we store it here # When adding new reasons, this can be a lot to manage so we store it here
# in a centralized location. However, this may need to change if this scales. # in a centralized location. However, this may need to change if this scales.

View file

@ -146,7 +146,7 @@
{% block request_summary %} {% block request_summary %}
{% with heading_level='h3' %} {% with heading_level='h3' %}
{% with org_type=DomainRequest.get_generic_org_type_display %} {% with org_type=DomainRequest.converted_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.get_federal_type_display heading_level=heading_level %} {% include "includes/summary_item.html" with title='Federal government branch' value=DomainRequest.converted_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.get_organization_name %} {% if DomainRequest.converted_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 %}

View file

@ -8,8 +8,8 @@
{% endif %} {% endif %}
{% if step == Step.ORGANIZATION_TYPE %} {% if step == Step.ORGANIZATION_TYPE %}
{% if domain_request.generic_org_type is not None %} {% if domain_request.converted_generic_org_type is not None %}
{% 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 %} {% with title=form_titles|get_item:step value=domain_request.converted_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.get_federal_type_display|default:"<span class='text-bold text-secondary-dark'>Incomplete</span>"|safe %} {% with title=form_titles|get_item:step value=domain_request.converted_federal_type|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 %}
@ -41,7 +41,7 @@
{% endif %} {% endif %}
{% if step == Step.ORGANIZATION_CONTACT %} {% if step == Step.ORGANIZATION_CONTACT %}
{% if domain_request.get_organization_name %} {% if domain_request.converted_organization_name %}
{% with title=form_titles|get_item:step value=domain_request %} {% with title=form_titles|get_item:step value=domain_request %}
{% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url address='true' %} {% include "includes/summary_item.html" with title=title value=value heading_level=heading_level editable=is_editable edit_link=domain_request_url address='true' %}
{% endwith %} {% endwith %}

View file

@ -146,7 +146,7 @@
{% block request_summary %} {% block request_summary %}
{% with heading_level='h3' %} {% with heading_level='h3' %}
{% with org_type=DomainRequest.get_generic_org_type_display %} {% with org_type=DomainRequest.converted_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 %}
@ -173,7 +173,7 @@
{% endwith %} {% endwith %}
{% endif %} {% endif %}
{% if DomainRequest.get_organization_name %} {% if DomainRequest.converted_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 %}