@foreach($course->Comments()->whereNotNull('approved_at')->when(auth()->check(),function($q){$q->orWhere('user_id',auth()->id());})->get() as $comment)
User Avatar
{{ $comment->User->FullName }}
{{ $comment->created_at->diffForHumans() }}
{{ $comment->comment }}
@endforeach