diff --git a/app/Http/Controllers/DevToolsController.php b/app/Http/Controllers/DevToolsController.php index c474a19..8a6c5de 100755 --- a/app/Http/Controllers/DevToolsController.php +++ b/app/Http/Controllers/DevToolsController.php @@ -44,7 +44,8 @@ class DevToolsController extends Controller $this->singleAuthorise(); return view('dashboard.administration.devtools') - ->with('applications', Application::where('applicationStatus', 'STAGE_PEERAPPROVAL')->get()); + ->with('applications', Application::where('applicationStatus', 'STAGE_PEERAPPROVAL')->get()) + ->with('rejectApplications', Application::all()); } /** diff --git a/resources/views/dashboard/administration/devtools.blade.php b/resources/views/dashboard/administration/devtools.blade.php index c8657ae..b03139a 100755 --- a/resources/views/dashboard/administration/devtools.blade.php +++ b/resources/views/dashboard/administration/devtools.blade.php @@ -16,7 +16,8 @@ -

{{__('messages.forceeval')}}

+

{{__('Please choose an application to force approve')}}

+

{{ __('Note that this process overrides users\'s votes.') }}

@csrf + @if(!$rejectApplications->isEmpty()) + @foreach($applications as $application) + + + + @endforeach + @else + + @endif + + +
+ + + + + +
+
@@ -60,7 +87,10 @@ - + + + +
@csrf