@extends('layouts.admin')
@section('title', $user->display_name ?? $user->name)
@section('content')
{{ __('admin.users.view_profile') }}
- Username
- {{ $user->username }}
- Email
- {{ $user->email }}
- Role
- {{ $user->role->label() }}
- Status
- {{ $user->status->label() }}
- Phone
- {{ $user->phone_e164 ?? '—' }}
- Joined
- {{ $user->created_at->format('M j, Y') }}
@if($user->eventRegistrations->isNotEmpty())
{{ __('admin.nav.registrations') }}
@foreach($user->eventRegistrations as $registration)
-
{{ $registration->event->title }}
{{ $registration->status->label() }}
@endforeach
@endif
{{ __('admin.actions.suspend') }}
@if($user->status === \App\Enums\UserStatus::Active)
@else
@endif
@endsection