mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 01:36:00 +02:00
Fix linter + test
This commit is contained in:
parent
e456cec33b
commit
3ef9ccb1ee
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ class ContactError(Exception):
|
|||
- 2002 CONTACT_ID_INVALID_LENGTH
|
||||
- 2003 CONTACT_INVALID_TYPE
|
||||
"""
|
||||
|
||||
# For linter
|
||||
_contact_id_error = "contact_id has an invalid length. Cannot exceed 16 characters."
|
||||
_contact_invalid_error = "Contact must be of type InfoContactResultData"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
{% include "includes/summary_item.html" with title='Your contact information' value=request.user.contact contact='true' edit_link=url %}
|
||||
|
||||
{% url 'domain-security-email' pk=domain.id as url %}
|
||||
{% include "includes/summary_item.html" with title='Security email' value=domain.get_security_email() edit_link=url %}
|
||||
{% include "includes/summary_item.html" with title='Security email' value=domain.security_contact.email edit_link=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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue