@extends('adminlte::page')
@section('title', config('app.name'))
@section('content_header')
{{config('app.name')}} / {{__('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: ") }}
- {{ __('All user account operations such as: ') }}
- {{ __('Password change') }}
- {{ __('Two factor authentication') }}
- {{ __('Email change') }}
- {{ __('Account deletion') }}
- {{ __('Administrative actions such as:') }}
- {{__('Account suspension')}}
- {{ __('Termination') }}
- {{ __('Account deletion') }}
- {{ __('Privilege editing') }}
- {{ __('Team file uploads') }}
- {{__('Developer mode')}}
- {{ __('Admin logs') }}
{{ __('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 day during demo mode.') }}
@endif
@if (!$vacancies->isEmpty())
@foreach($vacancies as $vacancy)
@if (is_null($vacancy->vacancyFullDescription))
{{__("There don't seem to be any details.")}}
{{__('This opening does not have any details yet.')}}
@else
@if($vacancy->requiresDiscord)
{{ __('Note: to apply for this position, you must sign in with your Discord account beforehand.') }}
@endif
{!! $vacancy->vacancyFullDescription !!}
{{__('Last updated @ :vacancyUpdatedTimeValue', ['vacancyUpdatedTimeValue' => $vacancy->updated_at]) }}
@endif
@endforeach
@endif
@if (!Auth::user()->isStaffMember())
@if ($isEligibleForApplication)
{{ __('You do not have any active applications, therefore your account is authorized to submit an application at this time. Feel free to submit one when you\'re ready.') }}
@else
{{ __('Since you already submitted an application, you will not be able to submit a new one. If our team did not approve your application, you will be able submit another one in :daysRemaining days.', ['daysRemaining' => $eligibilityDaysRemaining]) }}
{{ __('My applications') }}
@endif
{{ $totalNewSingle ?? 0 }}
{{__('Ongoing apps')}}
{{ $totalDeniedSingle ?? 0 }}
{{__('Denied apps')}}
@else
{{ $totalUserCount }}
{{__('Total Users + Staff')}}
@if (Auth::user()->hasRole('admin'))
@else
@endif
{{ $totalDenied }}
{{__('Denied apps')}}
@if (Auth::user()->hasRole('admin'))
@else
@endif
{{ $totalNewApplications }}
{{__('New applications')}}
@if (Auth::user()->hasRole('admin'))
@else
@endif
{{ $totalPeerReview }}
{{__('Vote backlog')}}
@endif
@if (!$vacancies->isEmpty() && $isEligibleForApplication && !Auth::user()->isStaffMember())
{{__('Available vacancies')}}
@endif
@if (!$vacancies->isEmpty() && $isEligibleForApplication && !Auth::user()->isStaffMember())
@foreach($vacancies as $vacancy)
{{$vacancy->vacancyDescription}}
@endforeach
@endif
@stop
@section('footer')
@include('breadcrumbs.dashboard.footer')
@stop