@push('css') @endpush

{{ __('labels.news_community') }} {{-- latest_content --}}

{{ __('labels.latest_updates_from_community') }}

@forelse($discussions['list'] as $index => $item)
@if($loop->first) @else @endif
{{ $item->author?->name }}
{{ $item->author?->name ?? 'Unknown User' }} {{ __('labels.posted') }}
{{ __('labels.new') }}

{{ Str::limit($item->title, 50) }}

{{ $item->created_at->diffForHumans() }}
@can('view', $item) {{ __('labels.view') }} @endcan
@empty @if(auth()->user()->can('create', \App\Models\DiscussionThread::class))
{{ __('labels.no_recent_discussions') }}

{{ __('labels.be_first_to_share') }}

{{ __('labels.start_discussion') }}
@endif @endforelse @if(count($discussions['list'] ?? []) > 0) @endif
@forelse($checklists['list'] as $checklist)
{{ Str::limit($checklist->title, 45) }}
{{ $checklist->creator?->name ?? 'Unknown' }} {{ $checklist->created_at->format('M d, Y') }}
@if(($checklist->type ?? '') == 'all') {{ strtoupper(__('labels.all_files')) }} @elseif(($checklist->type ?? '') == 'image') {{ strtoupper(__('labels.images')) }} @elseif(($checklist->type ?? '') == 'checklist') {{ strtoupper(__('labels.checklists_type')) }} @elseif(($checklist->type ?? '') == 'video') {{ strtoupper(__('labels.videos')) }} @else {{ __('labels.all_files') }} @endif
@can('view', $checklist) {{ __('labels.view') }} @endcan
@empty @if(auth()->user()->can('create', \App\Models\Checklist::class))
{{ __('labels.no_recent_checklists') }}

{{ __('labels.be_first_to_share') }}

{{ __('labels.create_checklist') }}
@endif @endforelse @if(count($checklists['list'] ?? []) > 0) @endif
@push('js') @endpush