senior official text found

This commit is contained in:
David Kennedy 2024-11-08 14:19:49 -05:00
parent f6062daea3
commit 15b5252038
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -71,7 +71,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
{% if original_object.portfolio.senior_official %}
<a href="{% url 'admin:registrar_seniorofficial_change' original_object.portfolio.senior_official.id %}">{{ field.contents }}</a>
{% else %}
No additional contact information found.<br>
No senior official found.<br>
{% endif %}
</div>
{% elif field.field.name == "other_contacts" %}