mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-19 07:54:16 +02:00
Add space between strings (whoops)
This commit is contained in:
parent
f203c99218
commit
2ae0167030
2 changed files with 3 additions and 3 deletions
|
@ -1676,7 +1676,7 @@ class TestPortfolio(WebTest):
|
||||||
self.assertEqual(response.status_code, 400) # Bad request due to active requests
|
self.assertEqual(response.status_code, 400) # Bad request due to active requests
|
||||||
support_url = "https://get.gov/contact/"
|
support_url = "https://get.gov/contact/"
|
||||||
expected_error_message = (
|
expected_error_message = (
|
||||||
"This member can't be removed from the organization because they have an active domain request."
|
"This member can't be removed from the organization because they have an active domain request. "
|
||||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1799,7 +1799,7 @@ class TestPortfolio(WebTest):
|
||||||
|
|
||||||
support_url = "https://get.gov/contact/"
|
support_url = "https://get.gov/contact/"
|
||||||
expected_error_message = (
|
expected_error_message = (
|
||||||
"This member can't be removed from the organization because they have an active domain request."
|
"This member can't be removed from the organization because they have an active domain request. "
|
||||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ class PortfolioMemberDeleteView(PortfolioMemberPermission, View):
|
||||||
if active_requests_count > 0:
|
if active_requests_count > 0:
|
||||||
# If they have any in progress requests
|
# If they have any in progress requests
|
||||||
error_message = mark_safe(
|
error_message = mark_safe(
|
||||||
"This member can't be removed from the organization because they have an active domain request."
|
"This member can't be removed from the organization because they have an active domain request. "
|
||||||
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
f"Please <a class='usa-link' href='{support_url}' target='_blank'>contact us</a> to remove this member."
|
||||||
)
|
)
|
||||||
elif member.is_only_admin_of_portfolio(portfolio_member_permission.portfolio):
|
elif member.is_only_admin_of_portfolio(portfolio_member_permission.portfolio):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue