@extends('central.super.layout') @section('title', __('central.SuperAdmins')) @section('content')
{{ __('central.ManageSuperAdminsSubtitle') }}
| # | {{ __('central.Name') }} | {{ __('central.Email') }} | {{ __('central.Role') }} | {{ __('central.Created') }} | {{ __('central.Actions') }} |
|---|---|---|---|---|---|
| {{ $admin->id }} |
{{ strtoupper(mb_substr($admin->name, 0, 1)) }}
{{ $admin->name }}
@if($admin->id === $currentId)
{{ __('central.You') }}
@endif
|
{{ $admin->email }} | @if($admin->isSuperAdmin()) {{ __('central.SuperAdmin') }} @else {{ __('central.Admin') }} @if(!empty($admin->permissions)) {{ count($admin->permissions) }} {{ Str::plural(__('central.Section'), count($admin->permissions)) }} @else {{ __('central.NoAccess') }} @endif @endif | {{ $admin->created_at->format('M d, Y') }} |
{{ __('central.Edit') }}
@if($admin->id !== $currentId)
@endif
|
| {{ __('central.NoAdminsFound') }} | |||||