@php $shot = $item['shot']; $detected = $item['detected']; $capturedAt = $shot->captured_at ?? $shot->created_at; $thumbScale = (float) config('systemlog.screenshot_thumb_scale', 0.25); $detectedSummary = collect($detected)->pluck('label')->filter()->implode(' · '); $tooltip = trim(($capturedAt?->format('d/m/Y H:i:s') ?? '').($shot->match_score !== null ? ' · '.number_format($shot->match_score, 2) : '').($detectedSummary ? ' · '.$detectedSummary : '')); $layout = $layout ?? 'strip'; @endphp @if($layout === 'timeline')
  • @if($detectedSummary)

    {{ $detectedSummary }}

    @endif @if($shot->match_score !== null)

    {{ __('devices.screenshots.capture_match_score', ['value' => number_format($shot->match_score, 2)]) }}

    @endif
  • @else
    {{ $capturedAt?->format('H:i:s') }} @if($shot->match_score !== null) {{ number_format($shot->match_score, 2) }} @endif
    @endif