QM: Wiedervorlage und Lesebestätigung, Platzhalter für Profilbilder (0.21.0)
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m49s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m54s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m27s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m29s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m38s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 6m40s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m7s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m13s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m24s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 07:36:47 +00:00
parent 8701b6d1b8
commit 4d855c8a74
213 changed files with 1729 additions and 515 deletions

View file

@ -0,0 +1,30 @@
<script setup>
import { Link } from '@inertiajs/vue3';
import { FileCheck2 } from '@lucide/vue';
import Panel from '@/components/Panel.vue';
/**
* Startseite: QM-Dokumente, deren Lesebestätigung noch fehlt (erscheint nur dann).
*/
defineProps({
entries: { type: Array, required: true },
total: { type: Number, required: true },
url: { type: String, required: true },
});
</script>
<template>
<Panel title="Bitte lesen und bestätigen" :action-label="total > entries.length ? `Alle ${total}` : 'QM'" :action-href="url">
<p class="-mt-1 mb-3 text-[13px] text-muted-foreground">
{{ total === 1 ? 'Ein QM-Dokument wartet' : `${total} QM-Dokumente warten` }} auf Ihre Lesebestätigung.
</p>
<ul class="grid gap-1">
<li v-for="entry in entries" :key="entry.id">
<Link :href="entry.url" class="flex items-center gap-2.5 rounded-md px-2 py-1.5 text-sm hover:bg-accent">
<FileCheck2 class="size-4 shrink-0 text-amber-600 dark:text-amber-400" />
<span class="min-w-0 truncate">{{ entry.title }}</span>
</Link>
</li>
</ul>
</Panel>
</template>