{{-- Video-Display: Video-Playlist + Footer-Inhalte --}} @php $videos = $items->get('video', collect()); $footers = $items->get('footer', collect()); @endphp {{-- Video-Playlist --}} {{ __('Video-Playlist') }} {{ __('Videos werden in der angegebenen Reihenfolge abgespielt') }} {{ __('Video hinzufügen') }} @if($videos->isEmpty()) {{ __('Noch keine Videos vorhanden.') }} @else @foreach($videos as $index => $item) @if($index > 0) @endif @if($index < count($videos) - 1) @endif {{ $item->is_active ? __('Aktiv') : __('Inaktiv') }} {{ $item->content['title'] ?? $item->content['filename'] ?? '–' }} {{ $item->content['filename'] ?? '–' }} Position: {{ $item->content['position'] ?? 25 }}% @endforeach @endif {{-- Footer-Inhalte --}} {{ __('Footer-Inhalte') }} {{ __('Inhalte werden im Footer rotiert') }} {{ __('Inhalt hinzufügen') }} @if($footers->isEmpty()) {{ __('Noch keine Footer-Inhalte vorhanden.') }} @else @foreach($footers as $index => $item) @if($index > 0) @endif @if($index < count($footers) - 1) @endif {{ $item->is_active ? __('Aktiv') : __('Inaktiv') }} {{ $item->content['headline'] ?? '–' }} {{ $item->content['subline'] ?? '' }} @if(!empty($item->content['url'])) {{ Str::limit($item->content['url'], 40) }} @endif @endforeach @endif
{{ __('Noch keine Videos vorhanden.') }}
{{ __('Noch keine Footer-Inhalte vorhanden.') }}