Visual update

This commit is contained in:
Tom Hubrecht 2022-03-06 10:46:58 +01:00
parent 0e78ae3cc4
commit 8628248b78

View file

@ -14,13 +14,15 @@
<Modal isOpen={open} {toggle} centered scrollable>
<ModalHeader {toggle}>{event.title}</ModalHeader>
{#if event.extendedProps.description}
<ModalBody>
{#if event.extendedProps.description}
{#each event.extendedProps.description.split('\n') as line}
<p>{line}</p>
{/each}
</ModalBody>
{:else}
<i class="fs-6">Pas de description</i>
{/if}
</ModalBody>
<ModalFooter class="justify-content-between">
<span>
@ -35,7 +37,7 @@
<Icon name="calendar-range" />
<span class="ms-1">{dateFormat(event.start)} - {dateFormat(event.end)}</span>
{:else}
<Icon name="clock" />
<Icon name="clock-history" />
<span class="ms-1">{timeFormat(event.start)} - {timeFormat(event.end)}</span>
{/if}
</span>