mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 01:57:03 +02:00
Change User management to Domain managers
This commit is contained in:
parent
5c0e193974
commit
3cfdacccfc
5 changed files with 19 additions and 6 deletions
|
@ -52,7 +52,7 @@
|
||||||
{% include "includes/summary_item.html" with title='Security email' value='None provided' edit_link=url %}
|
{% include "includes/summary_item.html" with title='Security email' value='None provided' edit_link=url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% url 'domain-users' pk=domain.id as url %}
|
{% url 'domain-users' pk=domain.id as url %}
|
||||||
{% include "includes/summary_item.html" with title='User management' users='true' list=True value=domain.permissions.all edit_link=url %}
|
{% include "includes/summary_item.html" with title='Domain managers' users='true' list=True value=domain.permissions.all edit_link=url %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %} {# domain_content #}
|
{% endblock %} {# domain_content #}
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
<a href="{{ url }}"
|
<a href="{{ url }}"
|
||||||
{% if request.path|startswith:url %}class="usa-current"{% endif %}
|
{% if request.path|startswith:url %}class="usa-current"{% endif %}
|
||||||
>
|
>
|
||||||
User management
|
Domain managers
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,10 +1,23 @@
|
||||||
{% extends "domain_base.html" %}
|
{% extends "domain_base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block title %}User management | {{ domain.name }} | {% endblock %}
|
{% block title %}Domain managers | {{ domain.name }} | {% endblock %}
|
||||||
|
|
||||||
{% block domain_content %}
|
{% block domain_content %}
|
||||||
<h1>User management</h1>
|
<h1>Domain managers</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Domain managers can update all information related to a domain within the
|
||||||
|
.gov registrar, including contact details, authorizing official, security
|
||||||
|
email, and DNS name servers.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>There is no limit to the number of domain managers you can add.</li>
|
||||||
|
<li>After adding a domain manager, an email invitation will be sent to that user with
|
||||||
|
instructions on how to set up an account.</li>
|
||||||
|
<li>To remove a domain manager, <a href="{% public_site_url 'contact/' %}" class="usa-link">contact us</a> for assistance.
|
||||||
|
</ul>
|
||||||
|
|
||||||
{% if domain.permissions %}
|
{% if domain.permissions %}
|
||||||
<section class="section--outlined">
|
<section class="section--outlined">
|
||||||
|
|
|
@ -1204,7 +1204,7 @@ class TestDomainUserManagement(TestDomainOverview):
|
||||||
response = self.client.get(
|
response = self.client.get(
|
||||||
reverse("domain-users", kwargs={"pk": self.domain.id})
|
reverse("domain-users", kwargs={"pk": self.domain.id})
|
||||||
)
|
)
|
||||||
self.assertContains(response, "User management")
|
self.assertContains(response, "Domain managers")
|
||||||
|
|
||||||
def test_domain_user_management_add_link(self):
|
def test_domain_user_management_add_link(self):
|
||||||
"""Button to get to user add page works."""
|
"""Button to get to user add page works."""
|
||||||
|
|
|
@ -656,7 +656,7 @@ class DomainSecurityEmailView(DomainFormBaseView):
|
||||||
|
|
||||||
|
|
||||||
class DomainUsersView(DomainBaseView):
|
class DomainUsersView(DomainBaseView):
|
||||||
"""User management page in the domain details."""
|
"""Domain managers page in the domain details."""
|
||||||
|
|
||||||
template_name = "domain_users.html"
|
template_name = "domain_users.html"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue