@extends('admin.layout') @section('title', __('Flagged photos')) @section('content')
@if ($photos->isEmpty())
{{ __('No flagged photos.') }}
@else

{{ __('These photos were flagged because Tesseract OCR was unavailable at upload time, or because contact details were detected. Review and approve or delete each photo.') }}

@foreach ($photos as $photo) @php $user = $photo->user; @endphp
{{-- Photo --}}
{{ __('Flagged photo') }} {{ __('Needs review') }}
{{-- User info --}}
{{ $user->name }}

{{ __('Flagged') }}: {{ $photo->flagged_at->diffForHumans() }}

{{-- Actions --}}
@csrf @method('PATCH')
@csrf @method('DELETE')
@endforeach
{{ $photos->links() }}
@endif
@endsection