@extends('layouts.admin')
@section('title', 'Dashboard')
@section('content')
@can('messages.view')
Recent messages
@if ($unreadMessages)
{{ $unreadMessages }} new
@endif
View all
@endcan
@can('applications.view')
Recent applications
@if ($newApplications)
{{ $newApplications }} new
@endif
View all
@endcan
@can('jobs.view')
@if ($expiringJobs->isNotEmpty())
Vacancies closing soon
@foreach ($expiringJobs as $job)
-
{{ $job->title }}
Closes {{ $job->deadline->format('d M Y') }} ({{ $job->deadline->diffForHumans() }})
@endforeach
@endif
@endcan
@endsection