@extends('adminlte::page') @section('title', 'Forum Comments') @section('content_header')

Forum Comments

@stop @section('content')
@if(!empty($forumComments)) @foreach ($forumComments as $forumComment) @endforeach @endif
Category Topic Name User Name Comment Date approve Action
{{optional($forumComment->forum?->category)->name ?? "N/A"}} {{$forumComment->forum?->topic}} {{ blank($forumComment->user->name) ? $forumComment->user->email : $forumComment->user->name }} {!! \Illuminate\Support\Str::words(strip_tags($forumComment->comment), 8, ' ...') !!} @if($forumComment->date != "" and $forumComment->date != null) {{date("d-m-Y H:i",strtotime($forumComment->date))}} @endif is_active?'checked':''}} class="chk_recent" data-url="{{ route('admin.forum-comment.updateIsactive',$forumComment->id) }}"/>
@section('js') @stop @stop