mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-20 08:24:05 +02:00
Fix error styling on member page
This commit is contained in:
parent
ee4629b897
commit
c8ac9c4a07
2 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<div id="main-content">
|
<div id="main-content">
|
||||||
<div id="toggleable-alert" class="usa-alert usa-alert--slim margin-bottom-2 display-none">
|
<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 ">
|
<p class="usa-alert__text ">
|
||||||
<!-- alert message will be conditionally populated by javascript -->
|
<!-- alert message will be conditionally populated by javascript -->
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -116,7 +116,8 @@ class PortfolioMemberDeleteView(PortfolioMemberPermission, View):
|
||||||
# If they have any in progress requests
|
# If they have any in progress requests
|
||||||
error_message = mark_safe( # nosec
|
error_message = mark_safe( # nosec
|
||||||
f"This member has an active domain request and can't be removed from the organization. "
|
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):
|
elif member.is_only_admin_of_portfolio(portfolio_member_permission.portfolio):
|
||||||
# If they are the last manager of a domain
|
# If they are the last manager of a domain
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue