@extends('adminlte::page') @section('title', config('app.name') . ' | ' . __('Account Management')) @section('content_header')

{{ __('Users / Accounts / :username / Manage', ['username' => $user->name]) }}

@stop @section('js') @stop @section('content')

{{__("Please confirm that you want to suspend this account. You'll need to add a reason and expiration date to confirm this.")}}

@csrf @if($demoActive)

{{ __('This feature is disabled') }}

@endif

{{ __('Temporary suspensions will be automatically lifted. The suspension note is visible to all users. Suspended users will not be able to login or register.') }}

@if (!Auth::user()->is($user) && $user->isStaffMember()) @if($demoActive)

{{ __('This feature is disabled') }}

@endif

{{__('You are about to terminate a recruited staff member')}}

{{__('Terminating a staff member will remove their privileges on the application management site and connected integrations configured for the vacancy they applied for.')}}

{{__('THIS PROCESS IS IRREVERSIBLE AND IMMEDIATE')}}

@csrf @method('PATCH')
@endif @if($demoActive)

{{ __('This feature is disabled') }}

@endif

{{__('WARNING: This is a potentially destructive action!')}}

{{__("Deleting a user's account is an irreversible process. Historic and current applications, votes, and profile content, as well as any personally identifiable information will be immediately erased.")}}

$user->id])}}> @csrf @method('DELETE')
@if($demoActive)

{{ __('This feature is disabled') }}

@endif
@csrf @method('PATCH')

{{__('If the setting "Require Valid Game License" is activated, editing this field may have unintended consequences. Proceed with caution.')}}

@foreach($roles as $roleName => $status) @endforeach
{{ ucfirst($roleName) }}

{{ __('Personal details') }}

{{ __('Application history') }}

@if (!$applications->isEmpty()) @foreach($applications as $application) @endforeach
# {{__('Status')}} {{ __('Vacancy') }} {{__('Date')}} {{__('Actions')}}
{{ $application->id }} @switch($application->applicationStatus) @case('STAGE_SUBMITTED') {{__('Outstanding (Submitted)')}} @break @case('STAGE_PEERAPPROVAL') {{__('Peer Review')}} @break @case('STAGE_INTERVIEW') {{__('Interview')}} @break @case('STAGE_INTERVIEW_SCHEDULED') {{__('Interview Scheduled')}} @break @case('APPROVED') {{__('Approved')}} @break @case('DENIED') {{__('Denied')}} @break; @default {{__('Denied')}} @endswitch {{ $application->response->vacancy->vacancyName }} {{ $application->created_at }} ({{ $application->created_at->diffForHumans() }}) {{ __('View') }}
@else {{ __('This user has not submitted any applications yet.') }} @endif

{{ __('Moderation actions') }}

@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop