mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
fix:#24 linted and formatted
This commit is contained in:
@ -91,14 +91,22 @@ function formatWeekday(weekday: string) {
|
||||
:value="sortModuleEventsByStart(module.events)"
|
||||
:data-key="module.name"
|
||||
layout="grid"
|
||||
>
|
||||
>
|
||||
<template #grid="slotProps">
|
||||
<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">
|
||||
<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
|
||||
<Badge
|
||||
:value="item.eventType"
|
||||
:severity="item.eventType === 'V' ? 'success' : 'warning'"
|
||||
:severity="
|
||||
item.eventType === 'V' ? 'success' : 'warning'
|
||||
"
|
||||
class="flex-shrink-0 flex-grow-0"
|
||||
/>
|
||||
</template>
|
||||
@ -106,7 +114,13 @@ function formatWeekday(weekday: string) {
|
||||
<div class="flex flex-row gap-4 flex-wrap">
|
||||
<div class="flex flex-column">
|
||||
<div class="mr-2">{{ formatWeekday(item.day) }}</div>
|
||||
<div class="mr-2">{{ $t("moduleInformation.nthWeek", {count: item.week}) }}</div>
|
||||
<div class="mr-2">
|
||||
{{
|
||||
$t("moduleInformation.nthWeek", {
|
||||
count: item.week,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-column">
|
||||
<table>
|
||||
|
Reference in New Issue
Block a user