Visual update
This commit is contained in:
parent
0e78ae3cc4
commit
8628248b78
|
@ -14,13 +14,15 @@
|
|||
|
||||
<Modal isOpen={open} {toggle} centered scrollable>
|
||||
<ModalHeader {toggle}>{event.title}</ModalHeader>
|
||||
{#if event.extendedProps.description}
|
||||
<ModalBody>
|
||||
<ModalBody>
|
||||
{#if event.extendedProps.description}
|
||||
{#each event.extendedProps.description.split('\n') as line}
|
||||
<p>{line}</p>
|
||||
{/each}
|
||||
</ModalBody>
|
||||
{/if}
|
||||
{: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>
|
||||
|
|
Loading…
Reference in a new issue