@if (auth()->user()->image) Logo @else Logo @endif
{{ auth()->user()->first_name.' '.auth()->user()->last_name}} {{ $comment[0]->created_at->diffForHumans() }}
@if (Str::length($comment[0]->body) > 300) {{ Str::limit($comment[0]->body,300,'...') }} {{ $comment[0]->body }} id }}> show more @else {{ $comment[0]->body }} @endif @if ($comment_attachment->count() > 0)
@foreach ($comment_attachment as $key=>$attachment)
@endforeach
@endif @if (auth()->id() == $comment[0]->user_id || auth()->user()->hasRole('ROLE_TEACHER') || auth()->user()->hasRole('ROLE_ADMIN')) @endif