staffmanager/resources/views/dashboard/appmanagement/peerreview.blade.php

98 lines
3.1 KiB
PHP
Raw Permalink Normal View History

2020-05-01 05:21:44 +00:00
@extends('adminlte::page')
@section('title', config('app.name') . ' | ' . __('messages.application_m.p_review'))
2020-05-01 05:21:44 +00:00
@section('content_header')
<h4>{{__('messages.application_m.title')}} / {{__('messages.application_m.p_review')}}</h4>
2020-05-01 05:21:44 +00:00
@stop
@section('content')
<div class="row">
<div class="col">
<div class="callout callout-info">
<h4>{{__('messages.application_m.voting_reminder.title')}}</h4>
2020-05-01 05:21:44 +00:00
<p>{{__('messages.application_m.voting_reminder.line1')}}</p>
<p>{{__('messages.application_m.voting_reminder.line2')}}</p>
2020-05-01 05:21:44 +00:00
<p>{{__('messages.application_m.voting_reminder.line3')}}</p>
2020-05-01 05:21:44 +00:00
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
<div class="card-title"><h3>{{__('messages.v_backlog')}}</h3></div>
2020-05-01 05:21:44 +00:00
</div>
<div class="card-body">
@if(!$applications->isEmpty())
<table class="table" style="white-space: nowrap">
2020-05-01 05:21:44 +00:00
<thead>
2020-05-01 05:21:44 +00:00
<tr>
<th>#</th>
<th>{{__('messages.application_m.applicant_name')}}</th>
<th>{{__('messages.last_updated')}}</th>
<th>{{__('messages.reusable.status')}}</th>
<th>{{__('messages.reusable.actions')}}</th>
2020-05-01 05:21:44 +00:00
</tr>
</thead>
2020-05-01 05:21:44 +00:00
<tbody>
2020-05-01 05:21:44 +00:00
@foreach($applications as $application)
<td>{{$application->id}}</td>
<td>{{$application->user->name}}</td>
<td>{{$application->created_at}}</td>
<td><span class="badge badge-warning">{{($application->applicationStatus == 'STAGE_PEERAPPROVAL') ? __('messages.application_m.p_review') : __('messages.application_m.unknown_stat')}}</span></td>
2020-05-01 05:21:44 +00:00
<td>
<button type="button" class="btn btn-info btn-sm" onclick="window.location.href='{{route('showUserApp', ['application' => $application->id])}}'"><i class="far fa-clipboard"></i> {{__('messages.application_r.review')}}</button>
2020-05-01 05:21:44 +00:00
</td>
@endforeach
</tbody>
2020-05-01 05:21:44 +00:00
</table>
@else
<x-alert alert-type="warning">
<p class="text-bold"><i class="fa fa-exclamation-triangle"></i> {{__('messages.application_m.no_pending_review')}}</p>
2020-05-01 05:21:44 +00:00
{{__('messages.application_m.no_pending_review_exp')}}
</x-alert>
@endif
2020-05-01 05:21:44 +00:00
</div>
</div>
</div>
</div>
@stop
2020-07-16 05:46:20 +00:00
@section('footer')
@include('breadcrumbs.dashboard.footer')
@stop