mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +02:00
senior official text found
This commit is contained in:
parent
f6062daea3
commit
15b5252038
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue