@extends('layouts.app') @section('title', 'User Management') @section('content') @include('partials.flash')
| User | Role | Location | Joined | Actions |
|---|---|---|---|---|
|
{{ strtoupper($initials) }}
{{ $user->name }} {{ $user->email }} |
{{ $role ? (\App\Models\User::roleLabels()[$role] ?? \Illuminate\Support\Str::headline($role)) : 'No role' }} | @php $loc = $user->locationLabel(); @endphp @if($loc) {{ $loc }} @else — @endif | {{ $user->created_at?->format('j M Y') }} |
edit
@if($user->id !== auth()->id())
@else
lock
@endif
|
| No users found. Add one. | ||||