@extends('layouts.admin') @section('title',__('adminstaticwords.AllActors')) @section('content')
@can('actor.create') add {{__('adminstaticwords.CreateActor')}} @endcan @can('actor.delete') delete {{__('adminstaticwords.DeleteSelected')}} @endcan
@if(isset($actors) && $actors->count() > 0) @foreach($actors as $item)
@if($item->image != NULL) ... @else ... @endif
{{$item->name}}
{{__('DOB')}}

{{isset($item->DOB) && $item->DOB != NULL ? $item->DOB : '-' }}

{{__('Place Of Birth')}}

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

{{__('BioGraphy')}}

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

{{__('Actor Emotions')}}
  • desktop_mac
  • @can('actor.edit')
  • mode_edit
  • @endcan @can('actor.delete')
  • delete
  • @endcan
@endforeach
{!! $actors->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