This commit is contained in:
Andras Bacsai
2022-11-29 13:00:44 +01:00
parent 028ee6d7b1
commit 876c81fad8
9 changed files with 89 additions and 89 deletions

View File

@@ -1,17 +1,16 @@
<script lang="ts">
import Tooltip from "../Tooltip.svelte";
import {initials} from '$lib/common';
export let teams:any;
export let thing:any;
let id = 'teams' + thing.id;
import Tooltip from '../Tooltip.svelte';
import { initials } from '$lib/common';
export let teams: any;
export let thing: any;
let id = 'teams' + thing.id;
</script>
<span>
🏢
{#each teams as team}
<a href={`/iam/teams/${team.id}`} {id} style="color: #99f8; text-decoration: none;">
{initials(team.name)}
</a>
<Tooltip triggeredBy="#{id}" placement="right" color="bg-sky-500/50">{team.name}</Tooltip>
{/each}
</span>
{#each teams as team}
<a href={`/iam/teams/${team.id}`} {id} class="no-underline">
Team: {initials(team.name)}
</a>
<Tooltip triggeredBy="#{id}" placement="right" color="bg-destinations">{team.name}</Tooltip>
{/each}
</span>