forked from miguel456/rbrecruiter
Add application management localization options
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('title', 'Raspberry Network | Applications')
|
||||
@section('title', config('app.name') . ' | ' . __('messages.application_m.int_applications'))
|
||||
|
||||
@section('content_header')
|
||||
|
||||
<h4>Application Management / Pending Interviews</h4>
|
||||
<h4>{{__('messages.application_m.title')}} / {{__('messages.application_m.interview_q')}}</h4>
|
||||
|
||||
@stop
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="small-box bg-warning">
|
||||
<div class="inner">
|
||||
<h3>{{$applications->count()}}</h3>
|
||||
<p>Pending Interviews</p>
|
||||
<p>{{__('messages.application_m.interview_q')}}</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fas fa-microphone-alt"></i>
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="small-box bg-success">
|
||||
<div class="inner">
|
||||
<h3>{{$finishedCount}}</h3>
|
||||
<p>Finished Interviews</p>
|
||||
<p>{{__('messages.application_m.finished_int')}}</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fas fa-check"></i>
|
||||
@@ -48,7 +48,7 @@
|
||||
<div class="card">
|
||||
|
||||
<div class="card-header">
|
||||
<div class="card-title"><h3>Schedule Interviews</h3></div>
|
||||
<div class="card-title"><h3>{{__('messages.application_m.schedule_int')}}</h3></div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
@@ -61,9 +61,9 @@
|
||||
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Interviewee</th>
|
||||
<th>Status</th>
|
||||
<th>Actions</th>
|
||||
<th>{{__('messages.application_m.interviewee')}}</th>
|
||||
<th>{{__('messages.reusable.status')}}</th>
|
||||
<th>{{__('messages.reusable.actions')}}</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
@@ -75,10 +75,10 @@
|
||||
<tr>
|
||||
<td>{{$application->id}}</td>
|
||||
<td>{{$application->user->name}}</td>
|
||||
<td><span class="badge-warning badge">{{($application->applicationStatus == 'STAGE_INTERVIEW') ? 'Pending Interview' : 'Unknown Status'}}</span></td>
|
||||
<td><span class="badge-warning badge">{{($application->applicationStatus == 'STAGE_INTERVIEW') ? __('messages.application_m.pending_int') : __('messages.application_m.unknown_stat')}}</span></td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="window.location.href='{{route('showUserApp', ['application' => $application->id])}}'"><i class="fa fa-eye"></i> View</button>
|
||||
<button type="button" class="btn btn-sm btn-warning"><i class="fa fa-clock"></i> Schedule</button>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="window.location.href='{{route('showUserApp', ['application' => $application->id])}}'"><i class="fa fa-eye"></i> {{__('messages.reusable.view')}}</button>
|
||||
<button type="button" class="btn btn-sm btn-warning"><i class="fa fa-clock"></i> {{__('messages.application_m.schedule')}}</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -92,8 +92,8 @@
|
||||
|
||||
<div class="alert alert-danger">
|
||||
|
||||
<b><i class="fa fa-exclamation-triangle"></i> No Applications Pending Interview</b>
|
||||
<p>There are no applications that have been moved up to the Interview stage. Please check the outstanding queue.</p>
|
||||
<b><i class="fa fa-exclamation-triangle"></i> {{__('messages.application_m.no_apps_pending_int')}}</b>
|
||||
<p>{{__('messages.application_m.no_apps_pending_int_exp')}}</p>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
<div class="card-header">
|
||||
|
||||
<div class="card-title"><h3>My Upcoming Interviews</h3></div>
|
||||
<div class="card-title"><h3>{{__('messages.application_m.upcoming_int')}}</h3></div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -124,11 +124,11 @@
|
||||
<tr>
|
||||
|
||||
<th>#</th>
|
||||
<th>Interviewee</th>
|
||||
<th>Status</th>
|
||||
<th>Time & Date</th>
|
||||
<th>Location</th>
|
||||
<th>Actions</th>
|
||||
<th>{{__('messages.application_m.interviewee')}}</th>
|
||||
<th>{{__('messages.reusable.status')}}</th>
|
||||
<th>{{__('messages.reusable.datetime')}}</th>
|
||||
<th>{{__('messages.reusable.location')}}</th>
|
||||
<th>{{__('messages.reusable.actions')}}</th>
|
||||
|
||||
</tr>
|
||||
|
||||
@@ -142,16 +142,16 @@
|
||||
<td>{{$upcomingApp->id}}</td>
|
||||
<td>{{$upcomingApp->user->name}}</td>
|
||||
@if (is_null($upcomingApp->appointment))
|
||||
<td><span class="badge badge-warning"><i class="fa fa-question-circle"></i>Pending Schedule</span></td>
|
||||
<td>None yet</td>
|
||||
<td><span class="badge badge-warning"><i class="fa fa-question-circle"></i>Pending Schedule</span></td>
|
||||
<td><span class="badge badge-warning"><i class="fa fa-question-circle"></i>{{__('messages.application_m.pending_schedule')}}</span></td>
|
||||
<td>{{__('messages.reusable.none_yet')}}</td>
|
||||
<td><span class="badge badge-warning"><i class="fa fa-question-circle"></i>{{__('messages.application_m.pending_int')}}</span></td>
|
||||
@else
|
||||
<td><span class="badge badge-success"><i class="fa fa-check"></i> {{ucfirst(strtolower($upcomingApp->appointment->appointmentStatus))}}</span></td>
|
||||
<td>{{$upcomingApp->appointment->appointmentDate}}</td>
|
||||
<td><span class="badge badge-success"><i class="fa fa-check"></i> {{ucfirst(strtolower($upcomingApp->appointment->appointmentLocation))}}</span></td>
|
||||
@endif
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="window.location.href='{{route('showUserApp', ['application' => $upcomingApp->id])}}'"><i class="fa fa-eye"></i> View Details</button>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="window.location.href='{{route('showUserApp', ['application' => $upcomingApp->id])}}'"><i class="fa fa-eye"></i> {{__('messages.reusable.view_c')}}</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -164,9 +164,8 @@
|
||||
@else
|
||||
|
||||
<x-alert alert-type="danger">
|
||||
<p><i class="fa fa-exclamation-triangle"></i><b>There are no upcoming interviews</b></p>
|
||||
|
||||
Please check other queues down in the application process. Applicants here may have already been interviewed.
|
||||
<p><i class="fa fa-exclamation-triangle"></i><b>{{__('messages.application_m.no_upcoming')}}</b></p>
|
||||
{{__('messages.application_m.no_upcoming_exp')}}
|
||||
</x-alert>
|
||||
|
||||
@endif
|
||||
@@ -183,8 +182,8 @@
|
||||
|
||||
<div class="col text-center">
|
||||
|
||||
<button type="button" class="btn btn-success mr-3" onclick="window.location.href='{{route('staffPendingApps')}}'">View Outstanding Queue</button>
|
||||
<button type="button" class="btn btn-success mr-3" onclick="window.location.href='{{route('peerReview')}}'">View Approval Queue</button>
|
||||
<button type="button" class="btn btn-success mr-3" onclick="window.location.href='{{route('staffPendingApps')}}'">{{__('messages.application_m.view_outstanding_queue')}}</button>
|
||||
<button type="button" class="btn btn-success mr-3" onclick="window.location.href='{{route('peerReview')}}'">{{__('messages.application_m.view_approval_queue')}}</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user