@php $statusColors = ['idea' => 'slate', 'draft' => 'amber', 'review' => 'sky', 'approved' => 'indigo', 'published' => 'emerald', 'cancelled' => 'rose']; $select = 'mt-1 block w-full rounded-xl border-slate-300 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500'; $viewMeta = [ 'calendar' => ['label' => __('Calendar'), 'icon' => 'calendar-days'], 'list' => ['label' => __('List'), 'icon' => 'list-bullet'], ]; @endphp
{{ $from->format('F Y') }}
{{ $m['label'] }}
{{ $m['value'] }}
{{ $m['sub'] }}{{ $status === '' ? __(':month, and anything not yet dated', ['month' => $from->format('F Y')]) : __('Every month') }}
| {{ __('Publish') }} | {{ __('Title') }} | {{ __('Pillar') }} | {{ __('Reviewer') }} | {{ __('Status') }} |
|---|---|---|---|---|
| {{ $row->publish_at?->timezone(config('app.display_timezone'))->format('D j M, H:i') ?? __('Not dated') }} |
{{ $row->title }}
{{ $channels[$row->channel] ?? __('No channel') }}@if ($row->campaign) · {{ $row->campaign->name }}@endif |
{{ $pillars[$row->pillar] ?? ($row->pillar ?: '-') }} | {{ $row->reviewer?->name ?? __('Not named') }} | |
|
@if (trim($search) !== '')
|
||||
{{ __(':month, against the target', ['month' => $from->format('F')]) }}
{{ $delivery['expected'] === null ? __('No cadence set yet.') : __('Planned :n a week across the channels.', ['n' => $weeks[0]['expected'] ?? 0]) }}
{{ $isReviewer ? __('You are the reviewer. Approve it, or send it back with what to change.') : __('Waiting for :name to review it.', ['name' => $item->reviewer?->name ?? __('the reviewer')]) }}
@elseif ($item && $item->isApproved() && $item->status === 'approved'){{ __('Approved by :name on :date. Changing the words sends it back for review.', ['name' => $item->approvedBy?->name ?? __('the reviewer'), 'date' => $item->approved_at->timezone(config('app.display_timezone'))->format('j M Y')]) }}
@elseif ($item && $item->status === 'published'){{ __('Published :date.', ['date' => $item->published_at?->timezone(config('app.display_timezone'))->format('j M Y')]) }} @if ($item->published_url) {{ __('Open the post') }} @endif
@endif{{ __('Target mix by pillar (%)') }}
{{ __('Leave all blank for no target, or make them add up to 100.') }}
{{ __('Planned posts a week, per channel') }}