diff --git a/app/Http/Controllers/ApplicationController.php b/app/Http/Controllers/ApplicationController.php index a13c323..143cd8c 100644 --- a/app/Http/Controllers/ApplicationController.php +++ b/app/Http/Controllers/ApplicationController.php @@ -27,4 +27,8 @@ class ApplicationController extends Controller return view('dashboard.appmanagement.outstandingapps'); } + public function showPeerReview() + { + return view('dashboard.appmanagement.peerreview'); + } } diff --git a/config/adminlte.php b/config/adminlte.php index c164e98..5f7a610 100644 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -245,7 +245,7 @@ return [ ], [ 'text' => 'Peer Approval Queue', - 'url' => '/applications/staff/pending-review', + 'url' => '/applications/staff/peer-review', 'icon' => 'fas fa-fw fa-search' ], [ diff --git a/resources/views/dashboard/appmanagement/outstandingapps.blade.php b/resources/views/dashboard/appmanagement/outstandingapps.blade.php index 192f6b4..a70add6 100644 --- a/resources/views/dashboard/appmanagement/outstandingapps.blade.php +++ b/resources/views/dashboard/appmanagement/outstandingapps.blade.php @@ -66,6 +66,12 @@ +
+ diff --git a/resources/views/dashboard/appmanagement/peerreview.blade.php b/resources/views/dashboard/appmanagement/peerreview.blade.php new file mode 100644 index 0000000..9677377 --- /dev/null +++ b/resources/views/dashboard/appmanagement/peerreview.blade.php @@ -0,0 +1,86 @@ +@extends('adminlte::page') + +@section('title', 'Raspberry Network | Applications') + +@section('content_header') + +Applications which gain more than 50% of positive votes are automatically approved after one day.
+Conversely, applications that do not reach this number are automatically denied.
+ +Please note that the vote system can be overriden.
+ +# | +Applicant Name | +Last Acted On | +Status | +Actions | +
---|---|---|---|---|
1 | +Jonathan Doe | +2020-04-01 | +Under Review | ++ + + + | + +