@extends('layouts.admin') @section('title',__('adminstaticwords.AllBlogs')) @section('content')
@can('blog.create') add {{__('adminstaticwords.CreatePost')}} @endcan @can('blog.delete') delete {{__('adminstaticwords.DeleteSelected')}} @endcan
@if(isset($blogs) && $blogs->count() > 0) @foreach($blogs as $item)
@if($item->image != NULL) ... @else ... @endif
{{$item->title}}
{{__('Description')}}

{!! isset($item->detail) && $item->detail != NULL ? str_limit($item->detail,100) : '-' !!}

{{__('Status')}}
@if($item->is_active == 1)

{{__('Active')}}

@else

{{__('DeActive')}}

@endif
{{__('Blog Emotions')}}
  • desktop_mac
  • @can('blog.edit')
  • mode_edit
  • @endcan @can('blog.delete')
  • delete
  • @endcan
@endforeach
{!! $blogs->appends(request()->query())->links() !!}
@else
{{__("Let's start :)")}}
{{__('Get Started by creating a actor! All of your actors will be displayed on this page.')}}
@endif
@endsection @section('custom-script') @endsection