Visual update
This commit is contained in:
parent
0e78ae3cc4
commit
8628248b78
1 changed files with 7 additions and 5 deletions
|
@ -14,13 +14,15 @@
|
||||||
|
|
||||||
<Modal isOpen={open} {toggle} centered scrollable>
|
<Modal isOpen={open} {toggle} centered scrollable>
|
||||||
<ModalHeader {toggle}>{event.title}</ModalHeader>
|
<ModalHeader {toggle}>{event.title}</ModalHeader>
|
||||||
{#if event.extendedProps.description}
|
<ModalBody>
|
||||||
<ModalBody>
|
{#if event.extendedProps.description}
|
||||||
{#each event.extendedProps.description.split('\n') as line}
|
{#each event.extendedProps.description.split('\n') as line}
|
||||||
<p>{line}</p>
|
<p>{line}</p>
|
||||||
{/each}
|
{/each}
|
||||||
</ModalBody>
|
{:else}
|
||||||
{/if}
|
<i class="fs-6">Pas de description</i>
|
||||||
|
{/if}
|
||||||
|
</ModalBody>
|
||||||
|
|
||||||
<ModalFooter class="justify-content-between">
|
<ModalFooter class="justify-content-between">
|
||||||
<span>
|
<span>
|
||||||
|
@ -35,7 +37,7 @@
|
||||||
<Icon name="calendar-range" />
|
<Icon name="calendar-range" />
|
||||||
<span class="ms-1">{dateFormat(event.start)} - {dateFormat(event.end)}</span>
|
<span class="ms-1">{dateFormat(event.start)} - {dateFormat(event.end)}</span>
|
||||||
{:else}
|
{:else}
|
||||||
<Icon name="clock" />
|
<Icon name="clock-history" />
|
||||||
<span class="ms-1">{timeFormat(event.start)} - {timeFormat(event.end)}</span>
|
<span class="ms-1">{timeFormat(event.start)} - {timeFormat(event.end)}</span>
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue