diff --git a/src/registrar/models/utility/generic_helper.py b/src/registrar/models/utility/generic_helper.py
index 0befd6627..3a6e04d4e 100644
--- a/src/registrar/models/utility/generic_helper.py
+++ b/src/registrar/models/utility/generic_helper.py
@@ -2,6 +2,8 @@
import time
import logging
+from typing import Any
+from urllib.parse import urlparse, urlunparse, urlencode
logger = logging.getLogger(__name__)
@@ -266,3 +268,29 @@ class CreateOrUpdateOrganizationTypeHelper:
return False
else:
return True
+
+
+def replace_url_queryparams(url_to_modify: str, query_params: dict[Any, list]):
+ """
+ Replaces the query parameters of a given URL.
+ Because this replaces them, this can be used to either add, delete, or modify.
+ Args:
+ url_to_modify (str): The URL whose query parameters need to be modified.
+ query_params (dict): Dictionary of query parameters to use.
+ Returns:
+ str: The modified URL with the updated query parameters.
+ """
+
+ # Ensure each key in query_params maps to a single value, not a list
+ query_params = {k: v[0] if isinstance(v, list) else v for k, v in query_params.items()}
+
+ # Split the URL into parts
+ url_parts = list(urlparse(url_to_modify))
+
+ # Modify the query param bit
+ url_parts[4] = urlencode(query_params)
+
+ # Reassemble the URL
+ new_url = urlunparse(url_parts)
+
+ return new_url
\ No newline at end of file
diff --git a/src/registrar/templates/domain_request_intro.html b/src/registrar/templates/domain_request_intro.html
index d6d3b3b7f..285777a80 100644
--- a/src/registrar/templates/domain_request_intro.html
+++ b/src/registrar/templates/domain_request_intro.html
@@ -13,12 +13,12 @@
We’ll use the information you provide to verify your organization’s eligibility for a .gov domain. We’ll also verify that the domain you request meets our guidelines.
While reviewing your domain request, we may need to reach out with questions. We’ll also email you when we complete our review If the contact information below is not correct, visit your profile to make updates.
- {% include "includes/profile_information.html" with user=user%}
- {% endif %}
+ completing your domain request might take around 15 minutes.
+ {% if has_profile_feature_flag %}
+
How we’ll reach you
+
While reviewing your domain request, we may need to reach out with questions. We’ll also email you when we complete our review If the contact information below is not correct, visit your profile to make updates.
+ {% include "includes/profile_information.html" with user=user%}
+ {% endif %}
{% block form_buttons %}
diff --git a/src/registrar/templates/profile.html b/src/registrar/templates/profile.html
index 13179e4ac..368bc7367 100644
--- a/src/registrar/templates/profile.html
+++ b/src/registrar/templates/profile.html
@@ -10,14 +10,19 @@ Edit your User Profile |
{% block content %}