Add view when no admins are found

This commit is contained in:
zandercymatics 2024-08-15 11:20:48 -06:00
parent c960a304ce
commit 0fcd17a819
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -11,6 +11,7 @@
<h2 id="domains-header" class="display-inline-block">You arent managing any domains.</h2>
<p>If you believe you should have access to a domain, reach out to your organizations administrators.</p>
{% if portfolio_administrators %}
<p>Your organizations administrators:</p>
<ul class="margin-top-0">
{% for administrator in portfolio_administrators %}
@ -21,6 +22,10 @@
{% endif %}
{% endfor %}
</ul>
{% else %}
<p><strong>No administrators were found on your organization.</strong></p>
<p>To suggest an update, email <a href="mailto:help@get.gov" class="usa-link">help@get.gov</a>.</p>
{% endif %}
</div>
</section>
{% endblock %}