@extends('panel.layout.app') @section('title', __('Blog')) @section('content')
@if(env('APP_STATUS') == 'Demo') {{__('Add Post')}} @else {{__('Add Post')}} @endif
@foreach($list as $entry) @endforeach
{{__('Title')}} {{__('Category')}} {{__('Tag')}} {{__('Status')}} {{__('Author')}} {{__('Updated At')}} {{__('Actions')}}
{{$entry->title}} @if($entry->category) @foreach (explode(',', $entry->category) as $cat) {{$cat}} @endforeach @endif @if($entry->tag) @foreach (explode(',', $entry->tag) as $tag) {{$tag}} @endforeach @endif @if($entry->status == 1)
{{__('Published')}}
@else
{{__('Draft')}}
@endif
{{App\Models\User::where('id', $entry->user_id)->first()->name;}}

{{date("j.n.Y", strtotime($entry->updated_at))}}

{{date("H:i:s", strtotime($entry->updated_at))}}

@if(env('APP_STATUS') == 'Demo') @else @if($entry->role != 'default') @endif @endif
@endsection @section('script') @endsection