@extends('admin.layouts.app') @section('title','News') @section('content')
{{__("All news")}}
{{__("Add new Post")}}
@include('admin.message')
@if(!empty($rows))
{{csrf_field()}}
{{__(" Bulk Actions ")}}
{{__(" Publish ")}}
{{__(" Move to Draft ")}}
{{__(" Delete ")}}
{{__('Apply')}}
@endif
{{ __('--All Category --')}}
{{__('Search News')}}
{{__('Found :total items',['total'=>$rows->total()])}}
@if($rows->total() > 0) @foreach($rows as $row) @endforeach @else @endif
{{ __('Name')}}
{{ __('Category')}}
{{ __('Author')}}
{{ __('Date')}}
{{ __('Status')}}
{{$row->title}}
{{$row->getCategory->name ?? '' }}
@if(!empty($row->getAuthor)) {{$row->getAuthor->getDisplayName()}} @else {{__("[Author Deleted]")}} @endif
{{ display_date($row->updated_at)}}
{{ $row->status }}
{{__('Edit')}}
{{__("No data")}}
{{$rows->appends(request()->query())->links()}}
@endsection