@php $cardUser = !empty($answer) ? $answer->user : $courseForum->user; @endphp
{{ $cardUser->full_name }}

{{ $cardUser->full_name }}

@if($cardUser->isUser()) {{ trans('quiz.student') }} @elseif($cardUser->isTeacher()) {{ trans('public.instructor') }} @elseif($cardUser->isOrganization()) {{ trans('home.organization') }} @elseif($cardUser->isAdmin()) {{ trans('panel.staff') }} @endif @if(!empty($answer) and $answer->pin) pin icon @endif

{{ !empty($answer) ? $answer->description : $courseForum->description }}

@if(empty($answer) and !empty($courseForum->attach)) @endif
{{ dateTimeFormat(!empty($answer) ? $answer->created_at : $courseForum->created_at,'j M Y | H:i') }}
@if(empty($answer) and $user->id == $courseForum->user_id) @elseif(!empty($answer)) @if($course->isOwner($user->id)) @if($answer->pin) @else @endif @endif @if($course->isOwner($user->id) or $user->id == $courseForum->user_id) @if($answer->resolved) @else @endif @endif @if($user->id == $answer->user_id) @endif @if($answer->resolved)
{{ trans('update.resolved') }}
@endif @endif