{{-- table loader --}}
{{__('admin.loading')}}
{{-- table loader --}}
{{-- table content --}}
| # |
{{__('admin.name')}} |
{{__('admin.control')}} |
@foreach($roles as $role)
| {{$loop->iteration}} |
{{$role->name}} |
@haspermission('admin.roles.edit')
@endhaspermission
@haspermission('admin.roles.delete')
@if(!in_array($role->id, [1]))
@endif
@endhaspermission
|
@endforeach
{{-- table content --}}
{{-- no data found div --}}
@if ($roles->count() == 0)
{{__('admin.there_are_no_matches_matching')}}
@endif
{{-- no data found div --}}
{{-- pagination links div --}}
@if ($roles->count() > 0 && $roles instanceof \Illuminate\Pagination\AbstractPaginator)