* improve collapsible link * do not show superadmin ws link when already in it * improve OAuth UI * sso/oauth instance settings ui * refactor instance settings alerts WIP * Indexer and Oauth to brand guidelines * refactor ws error handler page * Create a tab SMTP in the Instance Settings * Ractivity isssue fix for tabs * nit * Add smtp settings status in Error handler * Add smtp configuration status * Display teams connection status for instance alerts * nit * Add critical alerts description * nit * nit * improve ee display * nit * nit * fix typo * nit * restore vit config --------- Co-authored-by: Alexander Petric <alex@windmill.dev>
33 lines
681 B
Svelte
33 lines
681 B
Svelte
<script lang="ts">
|
|
import { Building } from 'lucide-svelte'
|
|
import { twMerge } from 'tailwind-merge'
|
|
import { Tooltip } from './meltComponents'
|
|
|
|
interface Props {
|
|
class?: string
|
|
children?: import('svelte').Snippet
|
|
}
|
|
|
|
let { class: className = '', children = undefined }: Props = $props()
|
|
</script>
|
|
|
|
<Tooltip>
|
|
<div
|
|
class={twMerge(
|
|
'flex text-xs items-center gap-1 text-yellow-500 whitespace-nowrap px-1',
|
|
className
|
|
)}
|
|
aria-label="Enterprise Edition only feature"
|
|
role="tooltip"
|
|
>
|
|
EE only <Building size={16} />
|
|
</div>
|
|
{#snippet text()}
|
|
{#if children}
|
|
{@render children()}
|
|
{:else}
|
|
Enterprise Edition only feature
|
|
{/if}
|
|
{/snippet}
|
|
</Tooltip>
|