implemented opening of external links in new tab

This commit is contained in:
2025-09-08 21:39:15 +02:00
parent 6e3fa67ed1
commit 8107157f6a
6 changed files with 38 additions and 17 deletions

View File

@@ -1,8 +1,8 @@
<script>
import { onMount } from 'svelte';
import { onMount } from 'svelte';
import { api } from '../../urls.svelte.js';
import { t } from '../../translations.svelte.js';
import { api, target } from '../../urls.svelte.js';
import { t } from '../../translations.svelte.js';
let {
company_id,
@@ -59,7 +59,7 @@
<span class="duration">{(time.duration).toFixed(3)} {t('hours')}</span>
<span class="subject">{time.subject}</span>
<span class="start_time">{time.start_time}</span>
<span class="description">{@html time.description.rendered}</span>
<span class="description">{@html target(time.description.rendered)}</span>
</div>
{/each}
{/if}