when in read only mode remove add dns name server button and text

This commit is contained in:
David Kennedy 2023-11-27 19:16:45 -05:00
parent abe35b9d63
commit 20c13a5d2f
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -31,9 +31,11 @@
{% if domain.nameservers|length > 0 %}
{% include "includes/summary_item.html" with title='DNS name servers' domains='true' value=domain.nameservers list='true' edit_link=url editable=domain.is_editable %}
{% else %}
{% if domain.is_editable %}
<h2 class="margin-top-neg-1"> DNS name servers </h2>
<p> No DNS name servers have been added yet. Before your domain can be used well need information about your domain name servers.</p>
<a class="usa-button margin-bottom-1" href="{{url}}"> Add DNS name servers </a>
<a class="usa-button margin-bottom-1" href="{{url}}"> Add DNS name servers </a>
{% endif %}
{% endif %}
{% url 'domain-org-name-address' pk=domain.id as url %}