@extends('admin.layouts.index') @section('content')
Total Posts
Total Comments
Total Views
Total Liked
| # | Message | User Name | Post Title | Date | Status | Action |
|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ Str::limit($comment->comment, 20 )}} | {{ $comment->user->name }} | {{ Str::limit($comment->post->title, 20 )}} | {{$comment->created_at->diffForHumans() }} | @if($comment->status == 1) Published @else Draft @endif | @if($comment->status == 1) @else @endif |