@if($blocked->count() > 0)
@foreach($blocked as $blockedItem)
{!! $blockedItem->id !!}
|
{!! $blockedItem->blockedType->slug !!}
|
{!! $blockedItem->value !!}
|
{!! $blockedItem->note !!}
|
@if ($blockedItem->userId)
{!! $blockedItem->userId !!}
@else
{!! trans('laravelblocker::laravelblocker.none') !!}
@endif
|
{!! $blockedItem->created_at->format('m/d/Y H:ia') !!}
|
{!! $blockedItem->updated_at->format('m/d/Y H:ia') !!}
|
@if($tabletype == 'deleted')
{!! $blockedItem->deleted_at->format('m/d/Y H:ia') !!}
|
@endif
@if($tabletype == 'normal')
{!! trans("laravelblocker::laravelblocker.buttons.show") !!}
|
{!! trans("laravelblocker::laravelblocker.buttons.edit") !!}
|
@include('laravelblocker::forms.delete-sm')
|
@endif
@if($tabletype == 'deleted')
{!! trans("laravelblocker::laravelblocker.buttons.show") !!}
|
@include('laravelblocker::forms.restore-item', ['restoreType' => 'small'])
|
@include('laravelblocker::forms.destroy-sm')
|
@endif
@endforeach
@else
{!! trans("laravelblocker::laravelblocker.blocked-table.none") !!} |
|
|
|
|
|
|
|
|
|
|
@endif
@if(config('laravelblocker.enableSearchBlocked'))