update calendar

This commit is contained in:
Simon Vieille 2022-04-17 17:59:45 +02:00
parent ec2bb3ea5a
commit 67c1b69c8f
Signed by: deblan
GPG key ID: 03383D15A1D31745

View file

@ -10,7 +10,7 @@
<tr>
<td v-for="item in week" v-bind:class="{'bg-light': !item.currentMonth}">
<div v-for="event in item.events" class="mb-3">
<details v-if="event.description">
<details>
<summary>
<span class="font-weight-bold">
<span class="text-muted">
@ -32,19 +32,6 @@
</a>
</div>
</details>
<div v-else>
<span class="font-weight-bold">{{ event.summary }}</span>
<div class="mt-3">
<a v-bind:href="route('admin_speaker_show', {entity: speaker.id})" v-for="speaker in event.speakers" v-bind:class="['d-block mr-1 mt-1 btn btn-xs', 'btn-' + speaker.color].join(' ')">
{{ speaker.name }}
</a>
<a v-bind:href="route('admin_project_show', {entity: project.id})" v-for="project in event.projects" class="d-block mr-1 mt-1 btn btn-xs border btn-light">
{{ project.label }}
</a>
</div>
</div>
</div>
</td>
</tr>