Display banner if scim is enabled

This commit is contained in:
adrinr 2023-03-21 12:20:03 +00:00
parent 934a2f09d7
commit 1a26899d90
1 changed files with 20 additions and 1 deletions

View File

@ -81,6 +81,8 @@
let user
let loaded = false
const scimEnabled = $licensing.scimEnabled
$: isSSO = !!user?.provider
$: readonly = !$auth.isAdmin
$: fullName = user?.firstName ? user?.firstName + " " + user?.lastName : ""
@ -260,7 +262,15 @@
{/if}
</div>
<Layout noPadding gap="S">
<Heading size="S">Details</Heading>
<div class="details-title">
<Heading size="S">Details</Heading>
{#if scimEnabled}
<div class="scim-banner">
<Icon name="Info" size="S" />
Users are synced from your AD
</div>
{/if}
</div>
<div class="fields">
<div class="field">
<Label size="L">Email</Label>
@ -404,4 +414,13 @@
width: 100%;
text-align: center;
}
.details-title {
display: flex;
justify-content: space-between;
align-items: center;
}
.scim-banner {
display: flex;
gap: var(--spacing-s);
}
</style>