@extends('admin.layout', ['menuKey' => 'postings']) @section('title', 'Edit post #'.$posting->id) @php $v = function (string $k, $d = null) use ($posting) { $val = old($k, $posting->{$k} ?? $d); return is_bool($val) ? ($val ? '1' : '0') : (is_float($val) && floor($val) == $val ? (string) (int) $val : $val); }; $country = strtoupper((string) old('country', $posting->country)); $o = $posting->organization; @endphp @section('content')
Board · post #{{ $posting->id }}

Edit post

@if ($posting->isLive())Live until {{ $posting->expires_at?->timezone('America/New_York')->format('M j, g:i A') }} @else{{ ucfirst($posting->status) }}@endif · posted by {{ $posting->poster_email }} @if ($o) · organization {{ $o->display_name }} ({{ $o->statusLabel() }})@endif · job page @if ($posting->orders->isNotEmpty()) · orders: @foreach ($posting->orders as $ord)#{{ $ord->id }} @endforeach @endif

← Postings
@include('partials.errors') @if ($posting->flags->isNotEmpty())
Waiting in the review queue: {{ $posting->flags->pluck('details')->implode(' · ') }} Review queue
@endif
@csrf

The job

@if (\App\Support\Places::hasRegionList($country)) If you change the country, save once, then pick the region. @else @endif
@include('post._pay')

Listing

Changing the plan doesn't move the end date; set it below.
Move the post to another organization by its number (see Employers → Organizations).

Upgrades (given free; no payment)

Empty = no link.
@if ($posting->logoUrl()) Current logo @endif

{{ $posting->isFeatured() ? 'Featured until '.$posting->featured_until->timezone('America/New_York')->format('M j, g:i A').'.' : ($posting->featured_pending ? 'Featured for 7 days once it goes live.' : 'Not featured.') }}

@if ($posting->isFeatured() || $posting->featured_pending)@endif
Or set the end date above.
@if ($posting->alert_blast_sent_at)

Alert blast sent {{ $posting->alert_blast_sent_at->timezone('America/New_York')->format('M j, g:i A') }}.

@else @endif

Photos

@if ($posting->photos->isNotEmpty()) @endif
@include('admin._history', ['type' => 'posting', 'id' => $posting->id]) @endsection