@extends('backend.layouts.app') @section('title', \App\Http\Helpers\MenuHelper::getPageTitle()) @section('content')
{{ session('success') }}
| No | Role Name | Guard | Permissions | Actions |
|---|---|---|---|---|
| {{ ($roles->currentPage() - 1) * $roles->perPage() + $loop->iteration }} |
{{ $role->name }}
|
{{ $role->guard_name }} |
@php
$permissions = $role->permissions->pluck('name')->toArray();
@endphp
@if(count($permissions) > 0)
@foreach(array_slice($permissions, 0, 3) as $permission)
{{ $permission }}
@endforeach
@if(count($permissions) > 3)
+{{ count($permissions) - 3 }} more
@endif
@else
-
@endif
|
|
No roles foundClick the "Create Role" button to add your first role. |
||||