mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
move admonition
This commit is contained in:
1 parent
affd6cf82d
commit
3f08f8daca
1 file changed
+29
-29
+29
-29
@@ -194,7 +194,7 @@ export const InviteMemberButton = () => {
|
||||
roleId: Number(values.role),
|
||||
...projectPayload,
|
||||
},
|
||||
{ onError: () => {} }
|
||||
{ onError: () => { } }
|
||||
)
|
||||
successCount++
|
||||
} catch {
|
||||
@@ -261,6 +261,34 @@ export const InviteMemberButton = () => {
|
||||
<DialogTitle>Invite team members</DialogTitle>
|
||||
</DialogHeader>
|
||||
<DialogSectionSeparator />
|
||||
<Admonition
|
||||
type="note"
|
||||
showIcon={false}
|
||||
title="Single Sign-On (SSO) available"
|
||||
layout="horizontal"
|
||||
className="rounded-none border-t-0 border-x-0 px-5"
|
||||
description="Enforce login via your company identity provider for added security and access control. Available on Team plan and above."
|
||||
actions={
|
||||
<>
|
||||
<Button asChild type="default">
|
||||
<Link
|
||||
href={`${DOCS_URL}/guides/platform/sso`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Learn more
|
||||
</Link>
|
||||
</Button>
|
||||
{(currentPlan?.id === 'free' || currentPlan?.id === 'pro') && (
|
||||
<UpgradePlanButton
|
||||
plan="Team"
|
||||
source="inviteMemberSSO"
|
||||
featureProposition="enable Single Sign-on (SSO)"
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
}
|
||||
/>
|
||||
<Form_Shadcn_ {...form}>
|
||||
<form
|
||||
id="organization-invitation"
|
||||
@@ -371,34 +399,6 @@ export const InviteMemberButton = () => {
|
||||
</FormItemLayout>
|
||||
)}
|
||||
/>
|
||||
<Admonition
|
||||
type="note"
|
||||
title="Single Sign-On (SSO) available"
|
||||
layout="vertical"
|
||||
|
||||
description="Enforce login via your company identity provider for added security and access control. Available on Team plan and above."
|
||||
actions={
|
||||
<>
|
||||
<Button asChild type="default">
|
||||
<Link
|
||||
href={`${DOCS_URL}/guides/platform/sso`}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Learn more
|
||||
</Link>
|
||||
</Button>
|
||||
{(currentPlan?.id === 'free' || currentPlan?.id === 'pro') && (
|
||||
<UpgradePlanButton
|
||||
plan="Team"
|
||||
source="inviteMemberSSO"
|
||||
featureProposition="enable Single Sign-on (SSO)"
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
|
||||
}
|
||||
/>
|
||||
</DialogSection>
|
||||
<DialogSectionSeparator />
|
||||
<DialogSection className="pt-0">
|
||||
|
||||
Reference in new issue
Block a user