$thread->approved == 1 && ($thread->sticky == 1 || ($category->id && $thread->sticky_category == 1)), 'bg-white dark:bg-gray-900' => $thread->approved == 1 && ($thread->sticky != 1 || ($category->id && $thread->sticky_category != 1)), 'bg-yellow-100 dark:bg-yellow-900' => $thread->approved != 1 || $thread->flag, ])>

{{ $thread->user->displayName }}

@php $catrgory_links = []; foreach ($thread->categories->reverse() as $thread_category) { $catrgory_links[] = '' . $thread_category->name . ''; } $catrgory_links = implode(', ', $catrgory_links); @endphp {{ str( __('Started :at in :categories', [ 'categories' => $catrgory_links, 'at' => $thread->created_at->diffForHumans(), ]), )->toHtmlString() }}

@if (!$thread->approved) @if ($logged_in_user && $logged_in_user->can('approve-threads')) @endif @endif

{{ $thread->title }}

{{ $thread->description }}

@if ($thread->flag && $logged_in_user && $logged_in_user->can('approve-threads'))

{{ str( __('This thread is flagged by :user.', [ 'user' => '' . $thread->flag->user->displayName . '', ]), )->toHtmlString() }}

{{ __('Reason') }}:

{{ $thread->flag->reason }}

@endif