Lasse Bilder im Text den Rechten des Textes folgen, gib Bild- und PDF-Adressen ohne Ablauf aus und belege die Abnahme
Deploy Test / test (push) Successful in 3m0s
Deploy Test / deploy (push) Successful in 25s

- Bilder im Text folgen dem Recht am Text; eine eigene Fähigkeit für Bilder ist nicht nötig (ADR-51, fachliche Entscheidung zur Bestätigung).
- Bildadresse und PDF-Adresse des Dokuments laufen nicht ab; jeder Abruf entscheidet neu.
- Die Fähigkeit text:laden ist im Rechteprofil wählbar.
- Dokumentkapitel in der Medienansicht verweisen auf ihr Dokument; die Pille nennt jetzt auch Dokumentkapitel (MedienFilterDialogTest bewusst angepasst).
- Abnahmeprotokoll mit Bildern unter docs/ux/verwaltung/abnahme/dokumente.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-24 12:55:21 +01:00
1 parent 8a44c5886b
commit 81037b9868
56 files changed
+222 -95

No files matched your search

@@ -4,6 +4,7 @@
use App\Domain\Catalog\ArticleRelease;
use App\Domain\Catalog\CompositionVersion;
use App\Domain\Catalog\ContentElementVersion;
use App\Domain\Catalog\EmbeddedImages;
use App\Domain\Catalog\ExerciseGuide;
use App\Domain\Catalog\ExercisePdf;
@@ -77,7 +78,7 @@ public function pdf(Request $request, LicenseArticle $article, ArticleRelease $r
$copy = DeliveryLog::newCopyId();
$variant = collect($guide['variants'])->firstWhere('key', $guide['chosen']);
$images = app(EmbeddedImages::class)->forPdf($request->user(), $article, $release);
$images = app(EmbeddedImages::class)->forPdf($request->user(), $article, $release, array_values(array_map(fn (array $section): ContentElementVersion => $section['version'], array_filter($sections, fn (array $section): bool => $section['class'] === 'text'))));
$content = $pdf->render(
$guide,
$sections,