@if(isset($report['results'][$name]))
@include('reports.partials.status')
{{ __('Image format') }}
@if($report['results'][$name]['passed'])
{{ __('The images are served in the :format format.', ['format' => implode(', ', $report['results'][$name]['value'])]) }}
@else @foreach($report['results'][$name]['errors'] as $error => $details)
@if($error == 'bad_format') {{ __('There are :value images that are not using the :format format.', ['value' => number_format(count($details), 0, __('.'), __(',')), 'format' => implode(', ', $report['results'][$name]['value'])]) }} @endif
@endforeach @endif
{{ __('The images format represents the images that are not served in a next-generation file format.') }} {{ __('Images served in a next-generation format improve the webpage\'s load performance.') }}
@endif