@extends('backend.layouts.app') @section('title', app_name() . ' | '. __('labels.backend.access.roles.management')) @section('content')
@lang('labels.backend.access.roles.table.role') | @lang('labels.backend.access.roles.table.permissions') | @lang('labels.backend.access.roles.table.number_of_users') | @lang('labels.general.actions') |
---|---|---|---|
{{ ucwords($role->name) }} | @if($role->id == 1) @lang('labels.general.all') @else @if($role->permissions->count()) @foreach($role->permissions as $permission) {{ ucwords($permission->name) }} @endforeach @else @lang('labels.general.none') @endif @endif | {{ $role->users->count() }} | {!! $role->action_buttons !!} |