Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Failing after 7m6s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 13s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 7m24s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 8m34s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 9m51s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m39s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m4s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 47s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m9s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 8m42s
Tasks-Registry mit Anbietern aus QM, Umfragen und Redaktion; Kachel auf der Startseite und Seite /aufgaben. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
25 lines
957 B
Vue
25 lines
957 B
Vue
<script setup>
|
||
import Panel from '@/components/Panel.vue';
|
||
import TaskList from '@/components/tasks/TaskList.vue';
|
||
|
||
/** Startseite: „Meine Aufgaben“ – was jetzt auf die Person wartet */
|
||
defineProps({
|
||
tasks: { type: Array, required: true },
|
||
total: { type: Number, default: 0 },
|
||
});
|
||
</script>
|
||
|
||
<template>
|
||
<Panel>
|
||
<template #actions>
|
||
<div class="flex w-full items-center justify-between gap-3">
|
||
<h2 class="flex items-center gap-2 text-base font-semibold">
|
||
Meine Aufgaben
|
||
<span class="rounded-pill bg-brand px-2 py-0.5 text-xs font-semibold text-brand-foreground tabular-nums">{{ total }}</span>
|
||
</h2>
|
||
<a v-if="total > tasks.length" href="/aufgaben" class="text-[13px] font-medium text-brand-text hover:underline">Alle {{ total }}</a>
|
||
</div>
|
||
</template>
|
||
<TaskList :tasks="tasks" />
|
||
</Panel>
|
||
</template>
|