Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2022-10-24 01:01:10 +01:00
parent 614410e7b7
commit 0bc6c20a6d
166 changed files with 4250 additions and 1833 deletions

View File

@@ -65,7 +65,7 @@
<form id="updateApplication" action="{{route('updateApplicationStatus', ['application' => $application->id, 'newStatus' => 'deny'])}}" method="POST">
@csrf
@method('PATCH')
<button type="submit" class="btn btn-danger">{{__('Confirm: Deny Applicant')}}</button>
<button type="submit" class="btn btn-danger"><i class="fas fa-ban"></i> {{__('Confirm')}}</button>
</form>
</x-slot>
@@ -156,8 +156,13 @@
<div class="card-body">
<p><b>{{__('Applicant Name')}} </b> <span class="badge badge-primary">{{$application->user->name}}</span></p>
@if ($application->user->hasDiscordConnection())
<p><b>{{ __('Discord tag: ') }}</b><i class="fab fa-discord"> </i> {{ __(':discordUsername (Connected account)', ['discordUsername' => $application->user->username]) }} </p>
@endif
@if (Auth::user()->hasRole('hiringManager'))
<p><b>{{__('Applicant IP Address')}}</b> <span class="badge badge-primary">{{ (!$shouldCollect) ? __('0.0.0.0 (censored)') : $application->user->originalIP }}</span></p>
<p><b>{{__('Applicant IP Address')}}</b> <span class="badge badge-primary">{{ (!$shouldCollect) ? __('0.0.0.0 (censored)') : $application->user->registrationIp }}</span></p>
@endif
<p><b>{{__('Application Date')}}</b> <span class="badge badge-primary">{{$application->created_at}}</span></p>
<p><b>{{__('Last updated')}}</b><span class="badge badge-primary">{{$application->updated_at}}</span></p>
@@ -222,7 +227,7 @@
<div class="col mr-5">
<button type="button" class="btn btn-danger" onclick="$('#denyApplication').modal('show')" {{($application->applicationStatus == 'DENIED') ? 'disabled' : ''}}><i class="fas fa-arrow-left"></i> {{__('messages.view_app.denyapp')}}</button>
<button type="button" class="btn btn-danger" onclick="$('#denyApplication').modal('show')" {{($application->applicationStatus == 'DENIED') ? 'disabled' : ''}}><i class="fas fa-arrow-left"></i> {{__('Decline application')}}</button>
</div>
<div class="col">