@extends('layouts.user-no-nav') @section('page_title', __('Saved searches')) @section('styles') {!! Minify::stylesheet([ '/css/pages/home.css', '/css/pages/saved-searches.css', ])->withFullUrl() !!} @stop @section('content')
@include('elements.page-navigation-header',[ 'title' => __('Saved searches'), 'points' => [ ['title' => __('Home'), 'route' => route('home')], ['title' => __('Candidate dashboard'), 'route' => route('my.candidate.dashboard')], ['title' => __('Saved searches')], ], ]) @include('elements.message-alert',['classes'=>'alert-box pt-0 pb-4'])

{{__('Your search alerts')}}

{{__('Save a search, choose daily or weekly email alerts, and come back to it anytime.')}}

{{__('Find jobs')}}
@if($savedSearches->count()) @foreach($savedSearches as $savedSearch)
{{$savedSearch->name}}
{{ucfirst($savedSearch->alert_frequency)}} {{__('alerts')}} · {{__(ucfirst($savedSearch->status))}} @if($savedSearch->last_sent_at) · {{__('Last sent')}} {{$savedSearch->last_sent_at->format('M j')}} @endif
@foreach($savedSearch->summaryItems() as $item) {{$item}} @endforeach
@csrf @method('PATCH')
@csrf @method('DELETE')
@endforeach
{{ $savedSearches->links() }}
@else

{{__('No saved searches yet')}}

{{__('Run a job search and save it to start getting alerts.')}}

{{__('Search jobs')}}
@endif
@endsection