remove card from EventRequests

This commit is contained in:
Tim Gröger 2023-04-28 20:05:15 +02:00
parent 2ddb89f89c
commit a88e3a0160
1 changed files with 31 additions and 35 deletions

View File

@ -1,40 +1,36 @@
<template> <template>
<q-page padding> <q-page padding>
<q-card> <q-table
<q-card-section> v-model:pagination="pagination"
<q-table title="Dienstanfragen"
v-model:pagination="pagination" :rows="rows"
title="Dienstanfragen" :columns="columns"
:rows="rows" row-key="id"
:columns="columns" :loading="loading"
row-key="id" binary-state-sort
:loading="loading" @request="onRequest"
binary-state-sort >
@request="onRequest" <template #top-right>
> <q-toggle v-model="showSent" dense label="Gesendete anzeigen" />
<template #top-right> </template>
<q-toggle v-model="showSent" dense label="Gesendete anzeigen" /> <template #body-cell-inviter="props">
</template> <q-td :props="props">
<template #body-cell-inviter="props"> <div>
<q-td :props="props"> {{ props.value.with
<div> }}<q-icon v-if="props.value.sender" name="mdi-account-alert">
{{ props.value.with <q-tooltip>Gesendet von {{ props.value.sender }}</q-tooltip>
}}<q-icon v-if="props.value.sender" name="mdi-account-alert"> </q-icon>
<q-tooltip>Gesendet von {{ props.value.sender }}</q-tooltip> </div>
</q-icon> </q-td>
</div> </template>
</q-td> <template #body-cell-type="props">
</template> <q-td :props="props">
<template #body-cell-type="props"> <q-icon size="sm" :name="types[props.value].icon">
<q-td :props="props"> <q-tooltip>{{ types[props.value].tooltip }}</q-tooltip>
<q-icon size="sm" :name="types[props.value].icon"> </q-icon>
<q-tooltip>{{ types[props.value].tooltip }}</q-tooltip> </q-td>
</q-icon> </template>
</q-td> </q-table>
</template>
</q-table>
</q-card-section>
</q-card>
</q-page> </q-page>
</template> </template>