mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +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() {
|
function updatePortfolioFieldsDataDynamicDisplay() {
|
||||||
|
|
||||||
// Handle visibility of senior official's contact information
|
// 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);
|
hideElement(portfolioSeniorOfficialAddress);
|
||||||
} else {
|
} else {
|
||||||
showElement(portfolioSeniorOfficialAddress);
|
showElement(portfolioSeniorOfficialAddress);
|
||||||
|
|
|
@ -71,7 +71,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
||||||
{% if original_object.portfolio.senior_official %}
|
{% if original_object.portfolio.senior_official %}
|
||||||
<a href="{% url 'admin:registrar_seniorofficial_change' original_object.portfolio.senior_official.id %}">{{ field.contents }}</a>
|
<a href="{% url 'admin:registrar_seniorofficial_change' original_object.portfolio.senior_official.id %}">{{ field.contents }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
No additional contact information found.<br>
|
No senior official found.<br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% elif field.field.name == "other_contacts" %}
|
{% elif field.field.name == "other_contacts" %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue