@extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Blog Posts')) @section('titlebar_actions') {{ __('Add Post') }} @endsection @section('content')
{{ __('Title') }} {{ __('Category') }} {{ __('Tag') }} {{ __('Status') }} {{ __('Author') }} {{ __('Updated At') }} {{ __('Actions') }} @foreach ($list as $entry) {{ $entry->title }} @if ($entry->category) @foreach (explode(',', $entry->category) as $cat) {{ $cat }} @if (!$loop->last) , @endif @endforeach @endif @if ($entry->tag) @foreach (explode(',', $entry->tag) as $tag) {{ $tag }} @if (!$loop->last) , @endif @endforeach @endif {{ $entry->status == 1 ? __('Published') : __('Draft') }} {{ App\Models\User::where('id', $entry->user_id)->first()->name }}

{{ date('j.n.Y', strtotime($entry->created_at)) }} {{ date('H:i:s', strtotime($entry->created_at)) }}

@if ($app_is_demo) @else @if ($entry->role != 'default') @endif @endif @endforeach
@endsection @push('script') @endpush