@php $consent = $job->showcase_consent; $consentMeta = match (true) { $consent === true => ['tone' => 'bg-emerald-50 text-emerald-700 ring-emerald-600/15', 'icon' => 'check-circle', 'label' => __('Cleared to show')], $consent === false => ['tone' => 'bg-brand-red-50 text-brand-red-700 ring-brand-red-600/15', 'icon' => 'no-symbol', 'label' => __('Must not be shown')], default => ['tone' => 'bg-brand-yellow-50 text-brand-yellow-800 ring-brand-yellow-600/20', 'icon' => 'question-mark-circle', 'label' => __('Nobody has asked')], }; @endphp

{{ __('Showcase') }}

{{ __('Pictures and video of the finished work, for the portfolio and for content. Kept apart from quality evidence, and gathered across every job under Showcase in the sidebar.') }}

{{ $consentMeta['label'] }} @if ($showcase->isNotEmpty()) {{ $showcase->count() }} @endif
{{-- The nudge. A job that has shipped cannot be photographed again. --}} @if ($nudge && $canManage)

{{ __('This job is finished and nothing was photographed.') }} {{ __('Once it leaves the shop it cannot be shot again. Take a couple of pictures and a short clip now.') }}

@endif {{-- No capture bar of its own. There is one camera on this tab, in Files & Attachments above, and "Showcase" is one of the places it can put a shot. Two boxes for the same act only ever meant the second one went unnoticed. --}} @if ($canManage)
{{ __('Shoot it with the camera in Files & Attachments above — set “Add to” to Showcase first, and it lands here.') }} {{ __('Straight on, in good light, with nothing else in frame.') }}
@endif @if ($showcase->isNotEmpty())
@foreach ($showcase as $file) @endforeach
@elseif (! $canManage)

{{ __('Nothing has been captured for the portfolio on this job.') }}

@endif {{-- Consent. Asked per job, because a customer who is normally happy to be shown may still have one job they would rather nobody saw. --}} @if ($canManage)

{{ __('May we show this job publicly?') }}

{{ __('Recorded against this job only. Until someone answers, the gallery shows it to staff but marks it as unconfirmed, so nothing goes out on an assumption.') }}

@if ($consent !== null) @endif

{{ __('Saved with your answer above.') }}

@elseif ($job->showcase_consent_note)

“{{ $job->showcase_consent_note }}”

@endif