@extends('admin.layouts.grid') @section('section', translate('Blog')) @section('title', translate('Blog Articles')) @section('create', route('admin.blog.articles.create')) @section('content')
@if ($articles->count() > 0)
@foreach ($articles as $article) @endforeach
{{ translate('ID') }} {{ translate('Article') }} {{ translate('Category') }} {{ translate('Comments') }} {{ translate('Views') }} {{ translate('Published date') }}
{{ $article->id }}
{{ shorterText($article->title, 40) }}

{{ shorterText($article->short_description, 50) }}

{{ $article->category->name }} {{ $article->comments_count }} {{ $article->views }} {{ dateFormat($article->created_at) }}
@else @include('admin.partials.empty', ['empty_classes' => 'empty-lg']) @endif
{{ $articles->links() }} @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection