feat:#21 updated deps, fixed changes, fixed room list

This commit is contained in:
Elmar Kresse
2024-01-13 04:42:13 +01:00
parent e6fa7b459d
commit 75ae6c619e
10 changed files with 812 additions and 1688 deletions

View File

@ -93,20 +93,20 @@ function formatWeekday(weekday: string) {
layout="grid"
>
<template #grid="slotProps">
<div class="col-12 sm:col-6 p-1">
<div v-for="(item, index) in slotProps.items" :key="index" class="col-12 sm:col-6 p-1">
<Card class="border-2 surface-border border-round surface-card">
<template #title>
<Badge
:value="slotProps.data.eventType"
:severity="slotProps.data.eventType === 'V' ? 'success' : 'warning'"
:value="item.eventType"
:severity="item.eventType === 'V' ? 'success' : 'warning'"
class="flex-shrink-0 flex-grow-0"
/>
</template>
<template #content>
<div class="flex flex-row gap-4 flex-wrap">
<div class="flex flex-column">
<div class="mr-2">{{ formatWeekday(slotProps.data.day) }}</div>
<div class="mr-2">{{ $t("moduleInformation.nthWeek", {count: slotProps.data.week}) }}</div>
<div class="mr-2">{{ formatWeekday(item.day) }}</div>
<div class="mr-2">{{ $t("moduleInformation.nthWeek", {count: item.week}) }}</div>
</div>
<div class="flex flex-column">
<table>
@ -114,19 +114,19 @@ function formatWeekday(weekday: string) {
<td class="mr-2">
<b>{{ $t("moduleInformation.start") }}:</b>
</td>
<td>{{ formatTimestamp(slotProps.data.start) }}</td>
<td>{{ formatTimestamp(item.start) }}</td>
</tr>
<tr>
<td class="mr-2">
<b>{{ $t("moduleInformation.end") }}:</b>
</td>
<td>{{ formatTimestamp(slotProps.data.end) }}</td>
<td>{{ formatTimestamp(item.end) }}</td>
</tr>
<tr>
<td class="mr-2">
<b>{{ $t("moduleInformation.room") }}:</b>
</td>
<td>{{ slotProps.data.rooms }}</td>
<td>{{ item.rooms }}</td>
</tr>
</table>
</div>