Führe develop in den Branch zusammen; Abschnittseinstellungen tragen ADR-64, ADR-63 bleibt bei den Bildfassungen
CI Feature / test (push) Successful in 5m56s
CI Feature / test (push) Successful in 5m56s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
61c7c5c3d3
58 files changed
+1035
-84
No files matched your search
@@ -119,7 +119,7 @@ public function form(Schema $schema): Schema
|
||||
Placeholder::make('thumbnail_current')->label('Aktuelles Vorschaubild')->content(function (): HtmlString {
|
||||
/** @var ContentElement $element */
|
||||
$element = $this->getRecord();
|
||||
$url = ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path);
|
||||
$url = ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path, 'mittel', $element->updated_at);
|
||||
$caption = match ($element->thumbnail_source) {
|
||||
'eigen' => 'Eigenes Vorschaubild.',
|
||||
'datei' => 'Vorschaubild aus der Datei des Mediums.',
|
||||
|
||||
@@ -589,7 +589,7 @@ private function viewerData(): array
|
||||
&& $element->output_class === 'text'
|
||||
&& $shown->status !== ContentVersionStatus::Gesperrt,
|
||||
'bodyCommitted' => $committed,
|
||||
'pictureUrl' => ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path),
|
||||
'pictureUrl' => ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path, 'mittel', $element->updated_at),
|
||||
'pictureCaption' => $this->pictureCaption($element),
|
||||
];
|
||||
}
|
||||
@@ -1076,7 +1076,7 @@ public function previewHtml(): string
|
||||
'kind' => PublicMaterialReader::outputLabel((string) $element->output_class),
|
||||
'hide_status' => true,
|
||||
'image' => trim($this->thumbnailAlt) !== '' ? trim($this->thumbnailAlt) : $title,
|
||||
'image_url' => ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path),
|
||||
'image_url' => ThumbnailRef::url('editorial.card', 'element', $element->id, $element->thumbnail_path, 'mittel', $element->updated_at),
|
||||
'error' => 'Vorschau der Kartenform. Ob jemand sie öffnen darf, entscheidet die Lizenz.',
|
||||
],
|
||||
]);
|
||||
|
||||
@@ -108,7 +108,7 @@ protected function catalogRows(): array
|
||||
'titel' => $title,
|
||||
'meta' => 'Lizenzartikel · '.$article->code.(filled($article->product_line) ? ' · '.$article->product_line : ''),
|
||||
'text' => trim((string) ($article->teaser ?: $article->summary)),
|
||||
'bild' => $cover !== null ? ThumbnailRef::url('editorial.card', 'element', $cover->id, $cover->thumbnail_path) : null,
|
||||
'bild' => $cover !== null ? ThumbnailRef::url('editorial.card', 'element', $cover->id, $cover->thumbnail_path, 'klein', $cover->updated_at) : null,
|
||||
'symbol' => 'dokument',
|
||||
'url' => $url,
|
||||
'chips' => $chips,
|
||||
|
||||
Reference in new issue
Block a user