2020-05-01 05:21:44 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
|
|
|
@section('title', 'Raspberry Network | Applications')
|
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
2020-05-02 05:54:14 +00:00
|
|
|
<h4>Application Management / Peer 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>Voting Reminder</h4>
|
|
|
|
|
|
|
|
<p>Applications which gain more than 50% of positive votes are automatically approved after one day.</p>
|
|
|
|
<p>Conversely, applications that do not reach this number are automatically denied.</p>
|
|
|
|
|
|
|
|
<p>Please note that the vote system can be overriden.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
2020-05-22 02:49:16 +00:00
|
|
|
<div class="card-title"><h3>Vote Backlog</h3></div>
|
2020-05-01 05:21:44 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@if(!$applications->isEmpty())
|
|
|
|
<table class="table" style="white-space: nowrap">
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<thead>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Applicant Name</th>
|
|
|
|
<th>Last Acted On</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</thead>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
<tbody>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
|
|
|
|
2020-05-22 02:49:16 +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') ? 'Peer Review' : 'Unknown'}}</span></td>
|
2020-05-01 05:21:44 +00:00
|
|
|
<td>
|
2020-05-22 02:49:16 +00:00
|
|
|
<button type="button" class="btn btn-info btn-sm" onclick="window.location.href='{{route('showUserApp', ['id' => $application->id])}}'"><i class="far fa-clipboard"></i> Review</button>
|
2020-05-01 05:21:44 +00:00
|
|
|
</td>
|
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
@endforeach
|
|
|
|
|
|
|
|
</tbody>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
</table>
|
|
|
|
@else
|
|
|
|
<x-alert alert-type="warning">
|
|
|
|
<p class="text-bold"><i class="fa fa-exclamation-triangle"></i> There are no applications pending review</p>
|
2020-05-01 05:21:44 +00:00
|
|
|
|
2020-05-22 02:49:16 +00:00
|
|
|
Check the other queues for any applications! Applications will be shown here as soon as their interview is completed.
|
|
|
|
You'll be able to view meeting notes and vote based on your observations.
|
|
|
|
</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
|