@extends('base.layouts.master') @section('style') @endsection @section('content')

@lang('menu.roles.title') @lang('menu.roles.index') ...

@include('base.layouts.partials.general.message') @can('add-listNagsh') @lang('menu.roles.create') @endcan
@lang('menu.roles.index')
@if(app()->getLocale() != 'en') @endif @foreach($adminRoles as $adminRole) @if($adminRole->id == 1 && auth()->user()->admin_role_id !== 1) @continue @endif @if(app()->getLocale() != 'en') @endif @endforeach
@lang('list-table.row') @lang('list-table.en-name') @lang('list-table.fa-name') @lang('list-table.action')
{{$loop->iteration}} {{$adminRole->name}} {{$adminRole->fa_name}} @can('edit-listNagsh') @if( count($adminRole->adminModules)) getLocale() == 'en') style="float:left;" @endif href="{{ route('rolePermission.edit',$adminRole->id)}}" type="submit" class="btn btn-circle green btn-outline btn-sm"> @lang('list-table.role-privileges') @endif @endcan @can('delete-listNagsh')
getLocale() != 'en') style="float:right;" @endif> @csrf @method('delete')
@endcan
{{$adminRoles->links()}}
@endsection @section('script') @endsection