@if ($posts->count() > 0)
@foreach($posts as $post) @endforeach
# {{ trans('core/base::tables.name') }} {{ trans('core/base::tables.created_at') }}
{{ $loop->index + 1 }} @if ($post->slug) {{ Str::limit($post->name, 80) }} @else {{ Str::limit($post->name, 80) }} @endif {{ BaseHelper::formatDate($post->created_at, 'd-m-Y') }}
@if ($posts instanceof Illuminate\Pagination\LengthAwarePaginator) @endif @else @include('core/dashboard::partials.no-data', ['message' => trans('plugins/demo::posts.no_new_post_now')]) @endif