@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
@switch($item->type) @case('general') 📰 @break @case('security_alert') 🚨 @break @case('market_trend') 📈 @break @case('claims_update') 📄 @break @case('legal_update') ⚖️ @break @case('technical_update') 🛠️ @break @case('guidance') 📖 @break @case('event') 📅 @break @endswitch {{ $item->type_label }} @if($item?->category?->title) {{ $item?->category?->title }} @endif {{--
@if ($item->description) {{ Str::limit($item->description, 30, '...') }} @else - @endif
--}}
@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
@if ($item->trashed()) @else @can('view', $item) @endcan @can('update', $item) @endcan @can('delete', $item) @endcan @endif
@empty {{ __('labels.no_news_found') }} @endforelse