@auth

{{ trans('front::messages.posts.post-a-comment') }}

@else

{{ trans('front::messages.posts.post-a-comment') }}

@endauth
@if($model->comments->count())

{{ $model->comments()->where('status', 'accepted')->count() }} {{ trans('front::messages.posts.comments') }}

    @foreach($model->comments as $comment)
  1. ? {{ $comment->user->fullname }} {{ trans('front::messages.posts.said') }}

    {!! nl2br(htmlentities($comment->body)) !!}

    @auth @endauth
    @php $child_comments = $comment->comments()->where('status', 'accepted')->get() @endphp @if($child_comments->count())
      @foreach($child_comments as $child_comment)
    1. {{ $child_comment->user->fullname }} {{ trans('front::messages.posts.said') }}

      {!! nl2br(htmlentities($child_comment->body)) !!}

    2. @endforeach
    @endif
  2. @endforeach
@else
    @isset($message)

    {{ $message }}

    @else

    {{ trans('front::messages.posts.there-article') }}

    @endisset
@endif