🔗 link to ContactDetail from TeamsOverview

ref #50
This commit is contained in:
Philipp Dormann 2021-02-15 20:54:09 +01:00
parent 1a4cf211eb
commit b01fe050d2

View File

@ -104,7 +104,11 @@
<div class="ml-4"> <div class="ml-4">
<div class="text-sm font-medium text-gray-900"> <div class="text-sm font-medium text-gray-900">
{#if t.contact} {#if t.contact}
{JSON.stringify(t.contact)} <a
href="../contacts/{t.contact.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">{t.contact.firstname}
{t.contact.middlename || ''}
{t.contact.lastname}</a>
{:else}no contact specified{/if} {:else}no contact specified{/if}
</div> </div>
</div> </div>