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