@section('page-title', 'Comments') @push('vendor-css') @endpush

{{ __('Comments') }}

@csrf
All Comments
    {{--
  • Avatar

    Hey John, I am looking for the best admin template.

    Could you please help me to find it out? 🤔

    It should be Bootstrap 5 compatible.

    10:02 AM
  • --}} @forelse ($lead->comments as $comment)
  • Avatar
    {{ $comment->user->id == auth()->user()->id ? 'You' : $comment->user->name }}

    {{ $comment->content }}

    @if ($comment->file_path)
    @if (strpos($comment->file_path, 'images') !== false) Image @elseif (strpos($comment->file_path, 'audios') !== false) @else

    Unsupported file type

    @endif
    @endif
    {{ $comment->created_at->diffForHumans(['parts' => 1]) }}
  • @empty
  • No comments yet!
  • @endforelse
@push('vendor-js') @endpush