improving tag usage display

This commit is contained in:
2025-09-24 16:56:37 +02:00
parent a8da903ccb
commit 058a385260

View File

@@ -37,9 +37,9 @@
{/if} {/if}
{#if object} {#if object}
{#if module=='bookmark'} {#if module=='bookmark'}
<a href={object.url}>{object.url}</a>
<div>{@html target(object.comment.rendered)}</div> <div>{@html target(object.comment.rendered)}</div>
{:else if module=='task'} <a href={object.url}>{object.url}</a>
{:else if module=='task' || module=='project'}
<span onclick={go}>{object.name}</span> <span onclick={go}>{object.name}</span>
{:else if module=='document'} {:else if module=='document'}
<span onclick={go}>{t(object.type)} ${object.number} (${object.customer.name.split('\n')[0]})</span> <span onclick={go}>{t(object.type)} ${object.number} (${object.customer.name.split('\n')[0]})</span>