Your authorizing official is a person within your organization who can authorize your domain request. This person must be in a role of significant, executive responsibility within the organization.
+ {% if not is_federal %}
+ Your authorizing official is a person within your organization who can authorize your domain request. This person must be in a role of significant, executive responsibility within the organization.
+ {% endif %}
{% include "includes/ao_example.html" %}
From ab2dffa9d5d8617362659668b0a11154662ba1f3 Mon Sep 17 00:00:00 2001
From: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
Date: Thu, 21 Dec 2023 09:48:45 -0700
Subject: [PATCH 097/129] Linting
---
src/registrar/tests/test_models.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/registrar/tests/test_models.py b/src/registrar/tests/test_models.py
index b1565715b..e3edb70e1 100644
--- a/src/registrar/tests/test_models.py
+++ b/src/registrar/tests/test_models.py
@@ -674,7 +674,8 @@ class TestContact(TestCase):
def setUp(self):
self.email_for_invalid = "intern@igorville.gov"
self.invalid_user, _ = User.objects.get_or_create(
- username=self.email_for_invalid, email=self.email_for_invalid, first_name="", last_name="")
+ username=self.email_for_invalid, email=self.email_for_invalid, first_name="", last_name=""
+ )
self.invalid_contact, _ = Contact.objects.get_or_create(user=self.invalid_user)
self.email = "mayor@igorville.gov"
@@ -695,7 +696,7 @@ class TestContact(TestCase):
self.assertEqual(self.invalid_contact.last_name, "")
self.assertEqual(self.invalid_user.first_name, "")
self.assertEqual(self.invalid_user.last_name, "")
-
+
# Manually update the contact - mimicking production (pre-existing data)
self.invalid_contact.first_name = "Joey"
self.invalid_contact.last_name = "Baloney"
@@ -709,7 +710,7 @@ class TestContact(TestCase):
self.assertEqual(self.invalid_contact.last_name, "Baloney")
self.assertEqual(self.invalid_user.first_name, "Joey")
self.assertEqual(self.invalid_user.last_name, "Baloney")
-
+
def test_saving_contact_does_not_update_user_first_last_names(self):
"""When a contact is updated, we avoid propagating the changes to the linked user if it already has a value"""
@@ -743,7 +744,7 @@ class TestContact(TestCase):
# Updating the contact's email does not propagate
self.assertEqual(self.contact.email, "joey.baloney@diaperville.com")
self.assertEqual(self.user.email, "mayor@igorville.gov")
-
+
def test_saving_contact_does_not_update_user_email_when_none(self):
"""When a contact's email is updated, the change is not propagated to the lined user."""
self.invalid_contact.email = "joey.baloney@diaperville.com"
From 928e99cbbcfced868f2de267223ab0a872d2beca Mon Sep 17 00:00:00 2001
From: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
Date: Thu, 21 Dec 2023 09:50:44 -0700
Subject: [PATCH 098/129] Update test_models.py
---
src/registrar/tests/test_models.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/registrar/tests/test_models.py b/src/registrar/tests/test_models.py
index e3edb70e1..96f78bf9f 100644
--- a/src/registrar/tests/test_models.py
+++ b/src/registrar/tests/test_models.py
@@ -734,7 +734,7 @@ class TestContact(TestCase):
self.assertEqual(self.user.last_name, "Lebowski")
def test_saving_contact_does_not_update_user_email(self):
- """When a contact's email is updated, the change is not propagated to the lined user."""
+ """When a contact's email is updated, the change is not propagated to the user."""
self.contact.email = "joey.baloney@diaperville.com"
self.contact.save()
@@ -746,7 +746,8 @@ class TestContact(TestCase):
self.assertEqual(self.user.email, "mayor@igorville.gov")
def test_saving_contact_does_not_update_user_email_when_none(self):
- """When a contact's email is updated, the change is not propagated to the lined user."""
+ """When a contact's email is updated, and the first/last name is none,
+ the change is not propagated to the user."""
self.invalid_contact.email = "joey.baloney@diaperville.com"
self.invalid_contact.save()
From 1cab7537d7ccbd90b70f66daeb144797a2cacc93 Mon Sep 17 00:00:00 2001
From: Rachid Mrad
Date: Thu, 21 Dec 2023 12:30:18 -0500
Subject: [PATCH 099/129] Fix for no char limit on no other employees textarea
---
src/registrar/forms/application_wizard.py | 6 ++++++
src/registrar/templates/application_no_other_contacts.html | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py
index ffdce7add..e0bc5fe52 100644
--- a/src/registrar/forms/application_wizard.py
+++ b/src/registrar/forms/application_wizard.py
@@ -610,6 +610,12 @@ class NoOtherContactsForm(RegistrarForm):
"we can contact to help us assess your eligibility for a .gov domain."
),
widget=forms.Textarea(),
+ validators=[
+ MaxLengthValidator(
+ 1000,
+ message="Response must be less than 1000 characters.",
+ )
+ ],
)
diff --git a/src/registrar/templates/application_no_other_contacts.html b/src/registrar/templates/application_no_other_contacts.html
index 736454831..1e42521a3 100644
--- a/src/registrar/templates/application_no_other_contacts.html
+++ b/src/registrar/templates/application_no_other_contacts.html
@@ -2,5 +2,7 @@
{% load static field_helpers %}
{% block form_fields %}
- {% input_with_errors forms.0.no_other_contacts_rationale %}
+ {% with attr_maxlength=1000 add_label_class="usa-sr-only" %}
+ {% input_with_errors forms.0.no_other_contacts_rationale %}
+ {% endwith %}
{% endblock %}
From 4588492231f8e58f384af2410ea55ecc2020e2be Mon Sep 17 00:00:00 2001
From: Michelle Rago <60157596+michelle-rago@users.noreply.github.com>
Date: Thu, 21 Dec 2023 12:51:03 -0500
Subject: [PATCH 100/129] Post-request submission content updates (#1517)
* Post-request submission content updates
* Align content with request review page; add contact link
* Update application_done.html
* Update domain_application.html
* Simplify log in message on error page
* Add import for public_site_url
* Fixed the max chars bug on the textarea for no_other_contacts
* Added contact form to request confirmation page
* Tightening up the pre-submission modal text
* Change prime marks to apostrophes
* Updated next steps
* remove char limit fix (will implement on different PR)
---------
Co-authored-by: Neil Martinsen-Burrell
Co-authored-by: Rachid Mrad
---
src/registrar/templates/403.html | 2 +-
src/registrar/templates/application_done.html | 20 ++++++++++---------
src/registrar/templates/application_form.html | 2 +-
.../includes/domain_application.html | 6 ++++--
4 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/src/registrar/templates/403.html b/src/registrar/templates/403.html
index 08057dfba..91652d807 100644
--- a/src/registrar/templates/403.html
+++ b/src/registrar/templates/403.html
@@ -23,7 +23,7 @@
{% endif %}
You must be an authorized user and need to be signed in to view this page.
- Would you like to try logging in again?
+ Try logging in again.
If you'd like help with this error contact us.
diff --git a/src/registrar/templates/application_done.html b/src/registrar/templates/application_done.html
index 91f9588b7..6d7bf6f43 100644
--- a/src/registrar/templates/application_done.html
+++ b/src/registrar/templates/application_done.html
@@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% load static %}
+{% load url_helpers %}
{% block title %}Thanks for your domain request! | {% endblock %}
@@ -14,21 +15,22 @@
/>
Thanks for your domain request!
- We'll email a copy of your request to you.
+ We’ll email a copy of your request to you.
Next steps in this process
- We'll review your request. This usually takes 20 business days. During
- this review we'll verify that your:
+ We’ll review your request. This usually takes 20 business days. During
+ this review we’ll verify that:
- - Organization is eligible for a .gov domain
- - Authorizing official approves your request
- - Domain meets our naming requirements
+ - Your organization is eligible for a .gov domain.
+ - You work at the organization and/or can make requests on its behalf.
+ - Your requested domain meets our naming requirements.
- You can check the status
- of your request at any time. We'll email you with any questions or when we
- complete our review.
+ We’ll email you if we have questions and when we complete our review. You can check the status
+ of your request at any time on the registrar homepage.
+
+ Contact us if you need help during this process.
{% endblock %}
diff --git a/src/registrar/templates/application_form.html b/src/registrar/templates/application_form.html
index cec2416fb..c34ddf5bc 100644
--- a/src/registrar/templates/application_form.html
+++ b/src/registrar/templates/application_form.html
@@ -105,7 +105,7 @@
aria-describedby="Are you sure you want to submit a domain request?"
data-force-action
>
- {% include 'includes/modal.html' with modal_heading=modal_heading|safe modal_description="Once you submit this request, you won’t be able to make further edits until it’s reviewed by our staff. You’ll only be able to withdraw your request." modal_button=modal_button|safe %}
+ {% include 'includes/modal.html' with modal_heading=modal_heading|safe modal_description="Once you submit this request, you won’t be able to edit it until we review it. You’ll only be able to withdraw your request." modal_button=modal_button|safe %}
{% block after_form_content %}{% endblock %}
diff --git a/src/registrar/templates/includes/domain_application.html b/src/registrar/templates/includes/domain_application.html
index 314f4d06b..a15a8673c 100644
--- a/src/registrar/templates/includes/domain_application.html
+++ b/src/registrar/templates/includes/domain_application.html
@@ -1,7 +1,9 @@
+{% load url_helpers %}
+
We received your .gov domain request. Our next step is to review your request. This usually takes two weeks. We’ll email you with questions or when we complete our review. Contact us with any questions.
+We received your .gov domain request. Our next step is to review your request. This usually takes 20 business days. We’ll email you if we have questions and when we complete our review. Contact us with any questions.