@forelse($listresults as $index => $item) {{ $index + 1 }}
@if($item->logo_path) {{ $item->title }} @else
{{ strtoupper(substr($item->title, 0, 2)) }}
@endif
{{ $item->title }}
@if($item->creator) {{ $item->author_name ?? (auth()->check() ? auth()->user()->name : null) }} @endif
@if($item->type) {{ __('labels.'.$item->type) }} {{-- {{ ucfirst($item->type) }} --}} @endif
@if($item->description) {{ Str::limit($item->description, 30, '...') }} @else - @endif
{{ $item->created_at?->format('d.m.Y') }} {{ $item->created_at?->format('H:i') }} {{ $item->created_at?->shortRelativeDiffForHumans() }}
@if($item->published_at) {{ $item->published_at ? date('d.m.Y', strtotime($item->published_at)) : '' }} {{ $item->published_at ? date('H:i', strtotime($item->published_at)) : '' }} {{ __('labels.published') }} @else {{ __('labels.draft') }} @endif
@can('view', $item) @endcan @can('update', $item) @endcan @can('delete', $item) @endcan
@empty {{ __('datatable.no_matching_records_found') }} @endforelse