@extends('site.layout') @section('title', __('site.meta.stations_title', ['in' => $countryIn])) @section('description', __('site.meta.stations_description', ['in' => $countryIn])) @php $selectedFuel = collect($fuels)->firstWhere('id', $selectedFuelId); $hasFilters = array_filter($filters) !== []; @endphp @section('content') {{ __('site.stations.title') }} {{ __('site.stations.count', ['count' => $total]) }} · @if ($selectedFuel){{ __('site.stations.sorted_by_price', ['fuel' => $selectedFuel['label']]) }}@else{{ __('site.stations.sorted_by_name') }}@endif {{ __('site.home.open_map') }} {{ __('site.stations.filter_region') }}: {{ __('site.stations.all') }} @foreach ($regions as $region) {{ $region['name'] }} @endforeach {{ __('site.stations.filter_brand') }}: {{ __('site.stations.all') }} @foreach ($brands as $brand) {{ $brand['name'] }} @endforeach {{ __('site.stations.filter_fuel') }}: {{ __('site.stations.all') }} @foreach ($fuels as $fuel) {{ $fuel['label'] }} @endforeach {{ __('site.stations.apply') }} @if ($hasFilters) {{ __('site.stations.clear') }} @endif @foreach ($regions as $region) {{ $region['name'] }} @endforeach {{ __('site.stations.location_denied') }} {{ __('site.stations.near_me') }} @if ($total === 0) {{ __('site.stations.empty') }} @else @foreach ($stations as $station) @include('site.partials.station-card', ['station' => $station, 'fuels' => $fuels, 'highlightFuelId' => $selectedFuelId]) @endforeach {{ $stations->links('site.partials.pagination') }} @endif @if ($mapPoints !== []) @include('site.partials.map', ['points' => $mapPoints, 'zoom' => 7]) @endif @endsection
{{ __('site.stations.count', ['count' => $total]) }} · @if ($selectedFuel){{ __('site.stations.sorted_by_price', ['fuel' => $selectedFuel['label']]) }}@else{{ __('site.stations.sorted_by_name') }}@endif
{{ __('site.stations.empty') }}