From 15b5252038da4d0d648b74e0bbe630f2d1a525fc Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Fri, 8 Nov 2024 14:19:49 -0500 Subject: [PATCH] senior official text found --- src/registrar/assets/js/get-gov-admin.js | 2 +- .../templates/django/admin/includes/detail_table_fieldset.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registrar/assets/js/get-gov-admin.js b/src/registrar/assets/js/get-gov-admin.js index bb8177f54..958d53ecb 100644 --- a/src/registrar/assets/js/get-gov-admin.js +++ b/src/registrar/assets/js/get-gov-admin.js @@ -301,7 +301,7 @@ function handlePortfolioSelection() { function updatePortfolioFieldsDataDynamicDisplay() { // Handle visibility of senior official's contact information - if (portfolioSeniorOfficial.innerText.includes("No additional contact information found")) { + if (portfolioSeniorOfficial.innerText.includes("No senior official found.")) { hideElement(portfolioSeniorOfficialAddress); } else { showElement(portfolioSeniorOfficialAddress); diff --git a/src/registrar/templates/django/admin/includes/detail_table_fieldset.html b/src/registrar/templates/django/admin/includes/detail_table_fieldset.html index dd8827b7b..1cb835988 100644 --- a/src/registrar/templates/django/admin/includes/detail_table_fieldset.html +++ b/src/registrar/templates/django/admin/includes/detail_table_fieldset.html @@ -71,7 +71,7 @@ {% if original_object.portfolio.senior_official %} {{ field.contents }} {% else %} - No additional contact information found.
+ No senior official found.
{% endif %} {% elif field.field.name == "other_contacts" %}