@if($filteredFeatures->isEmpty())

{{ __("No elements found") }}

@else
@foreach($filteredFeatures as $feature)
{{ $feature->name }}
{{ optional(optional($feature->layer)->phase)->name ?? '—' }} > {{ optional($feature->layer)->name ?? '—' }}
{{ $feature->progress }}%
@endforeach
@endif
{{-- Historial de inspecciones --}} @if($selectedFeature)

{{ __("Inspection History") }}

@if($inspectionHistory->isEmpty())

{{ __("No inspections yet for this element") }}

@else
@foreach($inspectionHistory as $inspection)
{{ $inspection->template->name ?? 'Inspection' }}
{{ $inspection->created_at->diffForHumans() }} {{ __("ago") }} @if($inspection->user) {{ __("by") }} {{ $inspection->user->name }} @endif
{{ __("View") }}
@endforeach
@endif
@endif