mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 21:16:28 +02:00
Merge pull request #2563 from cisagov/ms/2460-update-overview-page
Ticket #2460: Update Overview Page to Include Dnssec status
This commit is contained in:
commit
9dcf44832b
4 changed files with 14 additions and 7 deletions
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h3.register-form-review-header {
|
.register-form-review-header {
|
||||||
color: color('primary-dark');
|
color: color('primary-dark');
|
||||||
margin-top: units(2);
|
margin-top: units(2);
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
|
@ -5,7 +5,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"
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
{% 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 we’ll need information about your domain name servers.</p>
|
<p> No DNS name servers have been added yet. Before your domain can be used we’ll 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 %}
|
||||||
|
@ -65,6 +65,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% url 'domain-dns-dnssec' pk=domain.id as url %}
|
||||||
|
{% if domain.dnssecdata is not None %}
|
||||||
|
{% include "includes/summary_item.html" with title='DNSSEC' value='Enabled' edit_link=url editable=is_editable %}
|
||||||
|
{% else %}
|
||||||
|
{% include "includes/summary_item.html" with title='DNSSEC' value='Not Enabled' edit_link=url editable=is_editable %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if portfolio and has_domains_portfolio_permission and request.user.has_view_suborganization %}
|
{% if portfolio and has_domains_portfolio_permission and request.user.has_view_suborganization %}
|
||||||
{% url 'domain-suborganization' pk=domain.id as url %}
|
{% url 'domain-suborganization' pk=domain.id as url %}
|
||||||
{% include "includes/summary_item.html" with title='Suborganization' value=domain.domain_info.sub_organization edit_link=url editable=is_editable|and:request.user.has_edit_suborganization %}
|
{% include "includes/summary_item.html" with title='Suborganization' value=domain.domain_info.sub_organization edit_link=url editable=is_editable|and:request.user.has_edit_suborganization %}
|
||||||
|
|
|
@ -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,10 +19,10 @@
|
||||||
{% 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>
|
<h4 class="register-form-review-header">{{ sub_header_text }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if address %}
|
{% if address %}
|
||||||
{% include "includes/organization_address.html" with organization=value %}
|
{% include "includes/organization_address.html" with organization=value %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue