@extends('layouts.app') @php $ended = $posting->hasEnded(); $pay = $posting->payLabel(); $place = $posting->locationLabel(); $photos = $posting->shownPhotos; @endphp @section('title', $posting->titleTag()) @section('description', $posting->metaDescription()) @section('canonical', $posting->url()) @section('robots', ($ended || $preview) ? 'noindex, follow' : 'index, follow') @push('head') @if (! $ended && ! $preview) @endif @if (! $preview) @endif @endpush @section('content') @if ($preview)
@switch($posting->status) @case('draft') Not published yet: waiting for the poster to confirm their email. @break @case('review') Not public yet: our team is checking this post. @break @case('rejected') This post was not approved{{ $posting->reject_reason ? ': '.$posting->reject_reason : '.' }} @break @case('removed') This post was removed. @break @default Only you can see this page. @endswitch
@elseif ($ended)
This job is no longer accepting applications. It {{ $posting->status === 'closed' ? 'was closed' : 'ended' }} on {{ $posting->endedAt()->format('F j, Y') }}. @if ($related->isNotEmpty()) See similar jobs below. @endif
@endif
@if ($posting->logoPath())@endif
{{ $posting->category }}

{{ $posting->title }}

@if ($posting->organization?->profileUrl()){{ $posting->org_name }}@else{{ $posting->org_name }}@endif@include('partials.org-badges', ['org' => $posting->organization, 'postName' => $posting->org_name])@if ($posting->isUnclaimed()) Unclaimed@endif · {{ $place }}

@if ($posting->isFeatured())Featured@endif @if ($posting->urgent)Urgent hiring@endif @if ($posting->sign_on_bonus)Sign-on bonus@endif @if ($posting->new_grad)New grads welcome@endif @if ($posting->compact_license)Compact (multistate) license accepted@endif @if ($posting->is_remote)Remote@endif
Pay
{{ $pay ?? 'Not listed' }}
Employment
{{ $posting->employment_type }}
Shift
{{ $posting->shift }}
Setting
{{ $posting->setting }}
Credential
{{ $posting->credential }}
Job title
{{ $posting->jobTitle?->name }}
@if ($photos->isNotEmpty()) @endif
{!! nl2br(e($posting->description), false) !!}
@if ($posting->website_url && ! $ended && ! $posting->isUnclaimed() && ! $posting->applyMode())

Visit {{ parse_url($posting->website_url, PHP_URL_HOST) }} ↗

@endif

@if ($posting->published_at)Posted {{ $posting->published_at->format('M j, Y') }}.@endif @if (! $ended && $posting->expires_at) Open until {{ $posting->expires_at->format('M j, Y') }}.@endif Job #{{ $posting->id }} @if ($posting->isLive() && ! $preview) · Report this post@endif

@if ($related->isNotEmpty()) @endif @endsection @push('analytics') {!! \App\Support\Analytics::script([['view_item', ['job_id' => $posting->id, 'job_title' => $posting->jobTitle?->name, 'job_category' => $posting->category, 'job_country' => $posting->country, 'employment_type' => $posting->employment_type, 'tier' => $posting->tier, 'items' => [['item_id' => 'job-'.$posting->id, 'item_name' => \Illuminate\Support\Str::limit($posting->title, 90, ''), 'item_category' => $posting->category, 'item_category2' => $posting->jobTitle?->name, 'item_brand' => \Illuminate\Support\Str::limit((string) $posting->org_name, 90, '')]]]]]) !!} @endpush