Leite Vorschaubilder und Filmstufen geschuetzt ab
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d6ff881e4e
commit
c997eb500c
32 files changed
+979
-68
No files matched your search
@@ -30,7 +30,13 @@
|
||||
@endif
|
||||
<div>
|
||||
<dt>Vorschaubild</dt>
|
||||
<dd>{{ filled($composition->thumbnail_path) ? ($composition->thumbnail_alt ?: 'Vorschaubild') : 'Platzhalter' }}</dd>
|
||||
<dd>
|
||||
@if (str_starts_with((string) $composition->thumbnail_path, 'vorschau/'))
|
||||
<img src="{{ route('member.thumbnail', ['kind' => 'komposition', 'subject' => $composition->id]) }}" alt="{{ $composition->thumbnail_alt ?: 'Vorschaubild' }}">
|
||||
@else
|
||||
Platzhalter
|
||||
@endif
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
@if (filled($composition->thumbnail_error))
|
||||
|
||||
Reference in new issue
Block a user