@extends('adminlte::page') @section('title', config('app.name')) @section('content_header')

{{config('app.name')}} / {{__('messages.dashboard')}}

@stop @section('js') @endsection @section('content') @if ($demoActive)

{{__('Reminder')}}

{{__('The application is in demo mode.')}}

{{ __('Demo mode disables some app features in order to preserve it\'s integrity for everyone who wants to test it. Here\'s what\'s disabled: ') }}

To keep everyone safe, IP addresses are censored everywhere in the app, and they're also not collected during registration. The IP address lookup feature is also disabled.

Only system administrators can disable demo mode - it cannot be disabled via app settings.

Note! The database is wiped every six hours during demo mode.

@endif @if (!$vacancies->isEmpty()) @foreach($vacancies as $vacancy) @if (is_null($vacancy->vacancyFullDescription))

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

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

@else {!! $vacancy->vacancyFullDescription !!}

{{__('messages.last_updated')}} @ {{ $vacancy->updated_at }}

@endif
@endforeach @endif

{{__('messages.welcome_back')}} {{ Auth::user()->name }}!

{{__('messages.eligibility_status', ['badgeStatus' => ' ' . ($isEligibleForApplication) ? __('messages.eligible') : __('messages.ineligible') .''])}}

@if (!Auth::user()->isStaffMember())

{{ $totalNewSingle ?? 0 }}

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

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

{{ $totalDeniedSingle ?? 0 }}

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

{{__('messages.open')}}
@else

{{ $totalUserCount }}

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

@if (Auth::user()->hasRole('admin')) {{__('messages.open')}} @else @endif

{{ $totalDenied }}

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

@if (Auth::user()->hasRole('admin')) {{__('messages.open')}} @else @endif

{{ $totalNewApplications }}

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

@if (Auth::user()->hasRole('admin')) {{__('messages.open')}} @else @endif

{{ $totalPeerReview }}

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

@endif @if (!$vacancies->isEmpty() && $isEligibleForApplication && !Auth::user()->isStaffMember())

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


@endif
@if (!$vacancies->isEmpty() && $isEligibleForApplication && !Auth::user()->isStaffMember()) @foreach($vacancies as $vacancy)

{{ $vacancy->vacancyName }}

{{$vacancy->vacancyDescription}}
@endforeach @endif

  {{__('messages.upcoming')}} ({{__('messages.soon')}})

@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop