@extends('layouts.admin') @section('title',__('adminstaticwords.AllDirectors')) @section('content')
@can('director.create') add {{__('adminstaticwords.CreateDirector')}} @endcan @can('director.delete') delete {{__('adminstaticwords.DeleteSelected')}} @endcan
@if(isset($directors) && $directors->count() > 0) @foreach($directors 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) : '-'}}

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