@extends('layouts.admin.master') @section('content')
{{ __('content.admin_manage') }}
@if (count($roles) > 0) @php $i = 1; @endphp @foreach ($roles as $role) @endforeach
# {{ __('content.role_name') }} {{ __('content.permissions') }} {{ __('content.action') }}
{{ $i++ }} {{ $role->name }} @php $role_permissions = $role->getAllPermissions(); @endphp @if ($role->name == 'super-admin') {{ __('content.has_all_permissions') }} @else @foreach ($role_permissions as $role_permission) {{ $role_permission->name }} @endforeach @endif
@if ($role->name != 'super-admin') @endif
@else {{ __('content.not_yet_created') }} @endif
@endsection