Fix error styling on member page

This commit is contained in:
zandercymatics 2025-01-16 11:41:56 -07:00
parent ee4629b897
commit c8ac9c4a07
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<div id="main-content">
<div id="toggleable-alert" class="usa-alert usa-alert--slim margin-bottom-2 display-none">
<div class="usa-alert__body usa-alert__body--widescreen">
<div class="usa-alert__body">
<p class="usa-alert__text ">
<!-- alert message will be conditionally populated by javascript -->
</p>

View file

@ -116,7 +116,8 @@ class PortfolioMemberDeleteView(PortfolioMemberPermission, View):
# If they have any in progress requests
error_message = mark_safe( # nosec
f"This member has an active domain request and can't be removed from the organization. "
f"<a href='{support_url}' target='_blank'>Contact the .gov team</a> to remove them."
f"<a class='usa-link' href='{support_url}' target='_blank'>"
"Contact the .gov team</a> to remove them."
)
elif member.is_only_admin_of_portfolio(portfolio_member_permission.portfolio):
# If they are the last manager of a domain