Additional required changes

This commit is contained in:
matthewswspence 2024-08-09 15:10:47 -05:00
parent cdcd90bb89
commit 38e1c79e75
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
3 changed files with 7 additions and 7 deletions

View file

@ -54,7 +54,7 @@
{% block domain_content %} {% block domain_content %}
<h1 class="break-word">{{ domain.name }}</h1> <h1 class="break-word">Domain Overview</h1>
{% endblock %} {# domain_content #} {% endblock %} {# domain_content #}
{% endif %} {% endif %}

View file

@ -4,7 +4,7 @@
{% block domain_content %} {% block domain_content %}
{{ block.super }} {{ block.super }}
<div class="margin-top-4 tablet:grid-col-10"> <div class="margin-top-4 tablet:grid-col-10">
<h2 class="text-bold text-primary-dark">{{ domain.name }}</h2>
<div <div
class="usa-summary-box dotgov-status-box padding-bottom-0 margin-top-3 padding-left-2{% if not domain.is_expired %}{% if domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %} dotgov-status-box--action-need{% endif %}{% endif %}" class="usa-summary-box dotgov-status-box padding-bottom-0 margin-top-3 padding-left-2{% if not domain.is_expired %}{% if domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %} dotgov-status-box--action-need{% endif %}{% endif %}"
role="region" role="region"
@ -56,19 +56,19 @@
{% include "includes/summary_item.html" with title='DNS name servers' domains='true' value=domain.nameservers list='true' edit_link=url editable=is_editable %} {% include "includes/summary_item.html" with title='DNS name servers' domains='true' value=domain.nameservers list='true' edit_link=url editable=is_editable %}
{% else %} {% else %}
{% if is_editable %} {% if is_editable %}
<h2 class="margin-top-3"> DNS name servers </h2> <h3 class="margin-top-3"> DNS name servers </h3>
<p> No DNS name servers have been added yet. Before your domain can be used well need information about your domain name servers.</p> <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>
{% else %} {% else %}
{% include "includes/summary_item.html" with title='DNS name servers' domains='true' value='' edit_link=url editable=is_editable %} {% include "includes/summary_item.html" with title='DNS name servers' domains='true' value='' edit_link=url editable=is_editable %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% url 'domain-dns-dnssec' pk=domain.id as url %} {% url 'domain-dns-dnssec' pk=domain.id as url %}
{% if domain.dnssecdata is not None %} {% if domain.dnssecdata is not None %}
{% include "includes/summary_item.html" with title='DNSSEC' value='Enabled' edit_link=url editable=is_editable %} {% include "includes/summary_item.html" with title='DNSSEC' value='Enabled' edit_link=url editable=is_editable %}
{% else %} {% else %}
{% include "includes/summary_item.html" with title='DNSSEC' value='Disabled' edit_link=url editable=is_editable %} {% include "includes/summary_item.html" with title='DNSSEC' value='Not Enabled' edit_link=url editable=is_editable %}
{% endif %} {% endif %}
{% if portfolio %} {% if portfolio %}

View file

@ -7,7 +7,7 @@
{% if heading_level %} {% if heading_level %}
<{{ heading_level }} <{{ heading_level }}
{% else %} {% else %}
<h2 <h3
{% endif %} {% endif %}
class="summary-item__title class="summary-item__title
font-sans-md font-sans-md
@ -19,7 +19,7 @@
{% if heading_level %} {% if heading_level %}
</{{ heading_level }}> </{{ heading_level }}>
{% else %} {% else %}
</h2> </h3>
{% endif %} {% endif %}
{% if sub_header_text %} {% if sub_header_text %}
<h3 class="register-form-review-header">{{ sub_header_text }}</h3> <h3 class="register-form-review-header">{{ sub_header_text }}</h3>