@php $pay = $p->payLabel(); $featured = $p->isFeatured(); $thumb = $p->relationLoaded('shownPhotos') ? $p->shownPhotos->first() : null; $count = $p->relationLoaded('shownPhotos') ? $p->shownPhotos->count() : 0; @endphp
$p->highlight, 'ph' => $thumb]) data-sid="{{ $p->id }}"> @if ($p->logoPath()) @else @endif

{{ $p->title }}

{{ $p->org_name }}@if ($p->relationLoaded('organization'))@include('partials.org-badges', ['org' => $p->organization, 'compact' => true, 'postName' => $p->org_name])@endif · {{ $p->locationLabel() }} · {{ $p->setting }}
@if ($featured)Featured@endif @if ($p->urgent)Urgent hiring@endif @if ($p->isUnclaimed())Unclaimed@endif {{ $p->credential }} {{ $p->employment_type }} {{ $p->shift }} @if ($p->sign_on_bonus)Sign-on bonus@endif @if ($p->new_grad)New grads@endif @if ($p->compact_license)Compact license@endif
@if ($thumb)
@if ($count > 1)+{{ $count - 1 }}@endif
@endif
@if ($pay)
{{ $pay }}
@else
Pay not listed
@endif