@extends('layouts.backend.app') @section('content')

{{ __('Comment List') }}

@csrf
@foreach($comments as $comment) @endforeach
{{ __('Author') }} {{ __('Comment') }} {{ __('Status') }} {{ __('Submitted On') }}
@if($comment->auth_id != null) {{ App\User::where('id',$comment->auth_id)->first()->name }} @endif {{ $comment->comment }}
@if($comment->status != 4) {{ __('Reply') }} @endif {{ __('View') }}
@if($comment->status==1) {{ __('Approved') }} @elseif($comment->status==2) {{ __('Pending') }} @elseif($comment->status==3) {{ __('Unapproved') }} @elseif($comment->status == 4) {{ __('Replyed') }} @else {{ __('Trash') }} @endif {{ __('Last Modified') }}
{{ $comment->created_at->diffForHumans() }}
{{ __('Author') }} {{ __('Comment') }} {{ __('Status') }} {{ __('Submitted On') }}
{{ $comments->links() }}
@endsection @section('script') @endsection