芝麻web文件管理V1.00
编辑当前文件:/home/c7lekhnath/silverray.com.au/resources/views/admin/roles/index.blade.php
@extends('admin.master_layout') @section('title')
{{ __('Manage Roles') }}
@endsection @section('admin-content')
@adminCan('role.create')
@endadminCan @if ($admins_exists) @adminCan('role.assign')
{{ __('Assign Role') }}
@endadminCan @endif
#
{{ __('Name') }}
{{ __('Permission') }}
@if(checkAdminHasPermission('role.edit') || checkAdminHasPermission('role.delete'))
{{ __('Action') }}
@endif
@forelse ($roles as $role)
{{ $loop->index + 1 }}
{{ ucwords($role->name) }}
{{ $role?->permissions?->count() ?? 0 }}
@adminCan('role.edit')
@endadminCan @adminCan('role.delete')
@endadminCan
@empty
@endforelse
{{ $roles->links() }}
@endsection @push('js') @endpush @push('css') @endpush