{{-- B2in: Media-Playlist --}} @php $mediaItems = $items->get('media', collect()); @endphp
{{ __('Media-Playlist') }} {{ __('Bilder und Videos werden rotierend angezeigt') }}
{{ __('Medium hinzufügen') }}
@if($mediaItems->isEmpty())

{{ __('Noch keine Medien vorhanden.') }}

@else
@foreach($mediaItems as $index => $item)
@if($index > 0) @endif @if($index < count($mediaItems) - 1) @endif
@if(($item->content['media_type'] ?? 'image') === 'image' && !empty($item->content['media_url'])) @else
{{ ($item->content['media_type'] ?? 'image') === 'video' ? 'Video' : 'Bild' }}
@endif
{{ $item->is_active ? __('Aktiv') : __('Inaktiv') }} {{ ($item->content['media_type'] ?? 'image') === 'video' ? 'Video' : 'Bild' }} {{ ucfirst($item->content['category'] ?? '–') }} {{ $item->content['headline'] ?? '–' }}
{{ $item->content['subline'] ?? '' }} @if(($item->content['media_type'] ?? 'image') === 'image') {{ $item->content['duration_seconds'] ?? 10 }}s @endif
@endforeach
@endif