mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 17:56:11 +02:00
Add detail fields to domain overview page
This commit is contained in:
parent
1511b5deca
commit
649be0f49c
1 changed files with 27 additions and 0 deletions
|
@ -1,6 +1,33 @@
|
|||
{% extends "domain_base.html" %}
|
||||
{% load static url_helpers %}
|
||||
|
||||
{% block domain_content %}
|
||||
{{ block.super }}
|
||||
<p>Active: {% if domain.is_active %}Yes{% else %}No{% endif %}</p>
|
||||
org type: {{domain.domain_info.organization_type}}
|
||||
|
||||
{% url 'domain-nameservers' pk=domain.id as url %}
|
||||
{% include "includes/summary_item.html" with title='DNS name servers' value=domain.nameservers list='true' edit_link=url %}
|
||||
|
||||
{% url 'todo' as url %}
|
||||
{% if domain.domain_info.organization_name %}
|
||||
{% include "includes/summary_item.html" with title='Organization name and mailing address' value=domain.domain_info address='true' edit_link=url %}
|
||||
{% endif %}
|
||||
|
||||
{% if domain.domain_info.authorizing_official %}
|
||||
{% url 'todo' as url %}
|
||||
{% include "includes/summary_item.html" with title='Authorizing official' value=domain.domain_info.authorizing_official contact='true' edit_link=url %}
|
||||
{% endif %}
|
||||
|
||||
{% if domain.domain_info.submitter %}
|
||||
{% url 'todo' as url %}
|
||||
{% include "includes/summary_item.html" with title='Your contact information' value='---TODO---' edit_link=url %}
|
||||
{% endif %}
|
||||
|
||||
{% url 'todo' as url %}
|
||||
{% include "includes/summary_item.html" with title='Security email' value=domain.domain_info.security_email edit_link=url %}
|
||||
|
||||
{% url 'domain-users' pk=domain.id as url %}
|
||||
{% include "includes/summary_item.html" with title='User management' users='true' value=domain.permissions.all edit_link=url %}
|
||||
|
||||
{% endblock %} {# domain_content #}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue