@extends('layouts.generic') @php $isClosedListing = method_exists($job, 'isClosedForApplications') && $job->isClosedForApplications(); $closedAt = $isClosedListing && $job->latestSubscription ? $job->latestSubscription->expires_at : null; @endphp {{-- SEO, Schema & Share --}} @section('page_title', $job->title) @section('share_url', route('jobs.get', ['slug' => $slug])) @section('share_title', $job->title . ' - ' .getSetting('site.name')) @section('share_description', SEOSchemaHelper::getDescriptionExcerpt($job->description)) @section('share_type', 'article') @section('share_img', GenericHelper::getOGMetaImage()) @section('meta') @unless($isClosedListing) {!! SEOSchemaHelper::jobPosting($job) !!} @endunless @stop @section('styles') {!! Minify::stylesheet([ ])->withFullUrl() !!} @stop @section('scripts') {!! Minify::javascript([ '/js/pages/job.js', '/libs/sharer.js/sharer.min.js', ])->withFullUrl() !!} @stop @section('content')
@include('elements.message-alert',['classes'=>'pt-0 pb-4'])

{{$job->title}}

@if($isClosedListing)
{{__('Closed')}} @if($closedAt) {{__('Closed on :date', ['date' => $closedAt->toFormattedDateString()])}} @endif

{{__('This listing is no longer accepting applications.')}}

{{__('You can still review the job details, or browse similar active roles.')}}

@if($job->category) {{__('Similar jobs')}} @endif {{__('Browse jobs')}}
@endif
{!! Purifier::clean($job->description) !!}
@unless($isClosedListing)
{{__("Like the listing? Give it a try.")}}
@endunless
@include('elements.listings.company-preview-box', ['company' => $job->company])
@include('elements.listings.save-job-button', ['job' => $job])
@if(getSetting('site.ads_sidebar_spot')) @include('elements.ads.job-page-sidebar-ad') @endif @include('elements.listings.job-details-box') @include('elements.listings.job-share-box') @include('elements.report-user-or-post',['reportStatuses' => GenericHelper::getReportTypes()])
@if($companyJobs->count())

{{__('Other listings')}}

@foreach($companyJobs as $job) @include('elements.listings.job-listing-box',['job' => $job]) @endforeach
{{ $companyJobs->links() }}
@endif
@endsection