mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37: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 %}
|
||||
{% endif %}
|
||||
{% 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>
|
||||
{% endblock %} {# domain_content #}
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<a href="{{ url }}"
|
||||
{% if request.path|startswith:url %}class="usa-current"{% endif %}
|
||||
>
|
||||
User management
|
||||
Domain managers
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,10 +1,23 @@
|
|||
{% extends "domain_base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}User management | {{ domain.name }} | {% endblock %}
|
||||
{% block title %}Domain managers | {{ domain.name }} | {% endblock %}
|
||||
|
||||
{% 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 %}
|
||||
<section class="section--outlined">
|
||||
|
|
|
@ -1204,7 +1204,7 @@ class TestDomainUserManagement(TestDomainOverview):
|
|||
response = self.client.get(
|
||||
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):
|
||||
"""Button to get to user add page works."""
|
||||
|
|
|
@ -656,7 +656,7 @@ class DomainSecurityEmailView(DomainFormBaseView):
|
|||
|
||||
|
||||
class DomainUsersView(DomainBaseView):
|
||||
"""User management page in the domain details."""
|
||||
"""Domain managers page in the domain details."""
|
||||
|
||||
template_name = "domain_users.html"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue